Changeset 1248


Ignore:
Timestamp:
Mar 19, 2010, 8:05:37 PM (12 years ago)
Author:
Arno Wacker
Message:

Fixes for initial sample opening and initial setting for Samples-directory. This closes #96, please re-open if the issue described is not fixed!

CrypWin:

  • Old configuration is now no longer "forgotten" with a new version, but internally upgraded.
  • The samples directory is dynamically determined: CrypWin will search the application-dir/ProjectSamples and the application-dir/../../../ProjectSamples (SVN-case). The application-dir/ProjectSamples has precedence over the SVN version.
  • In case the last opened sample was removed (i.e. is not found), CrypWin will fall back to the default sample.

New binaris for CrypWin (Release/Debug)

Location:
trunk/CrypWin/bin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypWin/bin/Debug/CrypWin.exe.config

    r1152 r1248  
    2525      </setting>
    2626      <setting name="LastPath" serializeAs="String">
    27         <value>C:\Programme\CrypTool 2 beta\SampleProjects\</value>
     27        <value />
    2828      </setting>
    2929      <setting name="LastFile" serializeAs="String">
    30         <value>c:\Programme\CrypTool 2 beta\SampleProjects\AES-Sample-01.cte</value>
    31       </setting>
    32       <setting name="firstRun" serializeAs="String">
    33         <value>True</value>
     30        <value />
    3431      </setting>
    3532      <setting name="ReopenLastFile" serializeAs="String">
     
    4138      <setting name="DemoInterval" serializeAs="String">
    4239        <value>5</value>
     40      </setting>
     41      <setting name="UpdateFlag" serializeAs="String">
     42        <value>True</value>
     43      </setting>
     44      <setting name="DefaultOpenSample" serializeAs="String">
     45        <value>AES-Sample-01.cte</value>
     46      </setting>
     47      <setting name="SamplesDir" serializeAs="String">
     48        <value>ProjectSamples</value>
    4349      </setting>
    4450    </Cryptool.CrypWin.Properties.Settings>
  • trunk/CrypWin/bin/Release/CrypWin.exe.config

    r1152 r1248  
    2525      </setting>
    2626      <setting name="LastPath" serializeAs="String">
    27         <value>C:\Programme\CrypTool 2 beta\SampleProjects\</value>
     27        <value />
    2828      </setting>
    2929      <setting name="LastFile" serializeAs="String">
    30         <value>c:\Programme\CrypTool 2 beta\SampleProjects\AES-Sample-01.cte</value>
    31       </setting>
    32       <setting name="firstRun" serializeAs="String">
    33         <value>True</value>
     30        <value />
    3431      </setting>
    3532      <setting name="ReopenLastFile" serializeAs="String">
     
    4138      <setting name="DemoInterval" serializeAs="String">
    4239        <value>5</value>
     40      </setting>
     41      <setting name="UpdateFlag" serializeAs="String">
     42        <value>True</value>
     43      </setting>
     44      <setting name="DefaultOpenSample" serializeAs="String">
     45        <value>AES-Sample-01.cte</value>
     46      </setting>
     47      <setting name="SamplesDir" serializeAs="String">
     48        <value>ProjectSamples</value>
    4349      </setting>
    4450    </Cryptool.CrypWin.Properties.Settings>
Note: See TracChangeset for help on using the changeset viewer.