mirror of
https://github.com/moparisthebest/Simba
synced 2025-02-07 02:30:19 -05:00
New URLs
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@543 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
8b811fb080
commit
f3deb2e79b
@ -843,10 +843,37 @@ begin
|
||||
CreateSetting('Settings/Tabs/OpenNextOnClose','False');
|
||||
CreateSetting('Settings/Tabs/OpenScriptInNewTab','True');
|
||||
CreateSetting('Settings/ColourPicker/ShowHistoryOnPick', 'True');
|
||||
CreateSetting('Settings/Updater/RemoteLink',
|
||||
'http://old.villavu.com/merlijn/Simba'{$IFDEF WINDOWS}+'.exe'{$ENDIF});
|
||||
|
||||
CreateSetting('Settings/Updater/RemoteVersion',
|
||||
{$IFDEF WINDOWS}
|
||||
{$IFDEF CPUI386}
|
||||
'http://simba.villavu.com/bin/Windows/x86/Stable/Simba.exe'
|
||||
{$ELSE}
|
||||
'http://simba.villavu.com/bin/Windows/x86_64/Stable/Simba.exe'
|
||||
{$ENDIF}
|
||||
{$ELSE}
|
||||
{$IFDEF CPUI386}
|
||||
'http://simba.villavu.com/bin/Linux/x86/Stable/Simba'
|
||||
{$ELSE}
|
||||
'http://simba.villavu.com/bin/Linux/x86_64/Stable/Simba'
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
);
|
||||
CreateSetting('Settings/Updater/RemoteVersionLink',
|
||||
'http://old.villavu.com/merlijn/Simba'{$IFDEF WINDOWS}+'.exe'{$ENDIF} + '.version');
|
||||
{$IFDEF WINDOWS}
|
||||
{$IFDEF CPUI386}
|
||||
'http://simba.villavu.com/bin/Windows/x86/Stable/Version'
|
||||
{$ELSE}
|
||||
'http://simba.villavu.com/bin/Windows/x86_64/Stable/Version'
|
||||
{$ENDIF}
|
||||
{$ELSE}
|
||||
{$IFDEF CPUI386}
|
||||
'http://simba.villavu.com/bin/Linux/x86/Stable/Version'
|
||||
{$ELSE}
|
||||
'http://simba.villavu.com/bin/Linux/x86_64/Stable/Version'
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
);
|
||||
{Creates the paths and returns the path}
|
||||
includePath:= CreateSetting('Settings/Includes/Path', ExpandFileName(MainDir+DS+'Includes' + DS));
|
||||
fontPath := CreateSetting('Settings/Fonts/Path', ExpandFileName(MainDir+DS+ 'Fonts' + DS));
|
||||
|
@ -55,7 +55,7 @@ type
|
||||
procedure PerformUpdate;
|
||||
protected
|
||||
FCancelled: Boolean;
|
||||
end;
|
||||
end;
|
||||
|
||||
const
|
||||
DownloadSpeedTextRunning = 'Downloading at %d kB/s';
|
||||
@ -86,9 +86,20 @@ begin
|
||||
|
||||
SimbaVersionThread.InputURL := SettingsForm.Settings.GetSetLoadSaveDefaultKeyValueIfNotExists(
|
||||
'Settings/Updater/RemoteVersionLink',
|
||||
'http://old.villavu.com/merlijn/Simba'{$IFDEF WINDOWS} +
|
||||
'.exe'{$ENDIF} + '.version',
|
||||
SimbaSettingsFile);
|
||||
{$IFDEF WINDOWS}
|
||||
{$IFDEF CPUI386}
|
||||
'http://simba.villavu.com/bin/Windows/x86/Stable/Version'
|
||||
{$ELSE}
|
||||
'http://simba.villavu.com/bin/Windows/x86_64/Stable/Version'
|
||||
{$ENDIF}
|
||||
{$ELSE}
|
||||
{$IFDEF CPUI386}
|
||||
'http://simba.villavu.com/bin/Linux/x86/Stable/Version'
|
||||
{$ELSE}
|
||||
'http://simba.villavu.com/bin/Linux/x86_64/Stable/Version'
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
, SimbaSettingsFile);
|
||||
|
||||
SimbaVersionThread.Resume;
|
||||
while SimbaVersionThread.Done = false do//Wait till thread is done
|
||||
|
Loading…
Reference in New Issue
Block a user