lazimageeditor: Adds windows setup and corrects the ini file name
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1728 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
392fe2a4cc
commit
5fd2f1579d
@ -122,10 +122,10 @@ function TConfigurations.GetConfigFilePath: string;
|
|||||||
begin
|
begin
|
||||||
{$ifdef Windows}
|
{$ifdef Windows}
|
||||||
// First tryes to use a configuration file in the application directory
|
// First tryes to use a configuration file in the application directory
|
||||||
Result := ExtractFilePath(Application.EXEName) + 'magnifier.ini';
|
Result := ExtractFilePath(Application.EXEName) + 'lazimageeditor.ini';
|
||||||
{$endif}
|
{$endif}
|
||||||
{$ifdef Unix}
|
{$ifdef Unix}
|
||||||
Result := GetEnvironmentVariable('HOME') + '/.magnifier.ini';
|
Result := GetEnvironmentVariable('HOME') + '/.lazimageeditor.ini';
|
||||||
{$endif}
|
{$endif}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
56
applications/lazimageeditor/build/innosetup.iss
Normal file
56
applications/lazimageeditor/build/innosetup.iss
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
; Script generated by the Inno Setup Script Wizard.
|
||||||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
AppName=Lazarus Image Editor
|
||||||
|
AppVerName=Lazarus Image Editor v0.9
|
||||||
|
AppPublisherURL=http://magnifier.sourceforge.net/
|
||||||
|
AppSupportURL=http://magnifier.sourceforge.net/
|
||||||
|
AppUpdatesURL=http://magnifier.sourceforge.net/
|
||||||
|
DefaultDirName={pf}\Lazarus Image Editor
|
||||||
|
DefaultGroupName=Free Pascal Applications Suite
|
||||||
|
; LicenseFile=..\license.txt
|
||||||
|
OutputDir=.\
|
||||||
|
OutputBaseFilename=LazImageEditor0.9_install
|
||||||
|
Compression=lzma
|
||||||
|
SolidCompression=yes
|
||||||
|
VersionInfoVersion=0.9
|
||||||
|
AllowNoIcons=yes
|
||||||
|
|
||||||
|
[Languages]
|
||||||
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
|
||||||
|
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl"
|
||||||
|
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
|
||||||
|
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
|
||||||
|
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
|
||||||
|
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
|
||||||
|
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
|
||||||
|
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
|
||||||
|
Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "..\lazimageeditor.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "..\lazimageeditor.ini"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "..\default.pal"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "..\Images\*.svg"; DestDir: "{app}\Images"; Flags: ignoreversion
|
||||||
|
Source: "..\Images\*.bmp"; DestDir: "{app}\Images"; Flags: ignoreversion
|
||||||
|
Source: "..\Images\*.png"; DestDir: "{app}\Images"; Flags: ignoreversion
|
||||||
|
; Source: "..\libraries\pas_overlays\pas_overlays.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
; Source: "..\libraries\videocard_checker\videocard_checker.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
Name: "{group}\Lazarus Image Editor"; Filename: "{app}\lazimageeditor.exe"
|
||||||
|
Name: "{group}\{cm:ProgramOnTheWeb,Lazarus Image Editor}"; Filename: "http://wiki.lazarus.freepascal.org/Lazarus_Image_Editor"
|
||||||
|
Name: "{group}\{cm:UninstallProgram,Lazarus Image Editor}"; Filename: "{uninstallexe}"
|
||||||
|
Name: "{commondesktop}\Lazarus Image Editor"; Filename: "{app}\lazimageeditor.exe"; Tasks: desktopicon
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: "{app}\lazimageeditor.exe"; Description: "{cm:LaunchProgram,Lazarus Image Editor}"; Flags: nowait postinstall skipifsilent
|
||||||
|
|
||||||
|
|
||||||
|
|
5
applications/lazimageeditor/lazimageeditor.ini
Normal file
5
applications/lazimageeditor/lazimageeditor.ini
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[General]
|
||||||
|
Language=0
|
||||||
|
|
||||||
|
[UNIX]
|
||||||
|
MyDirectory=F:\Programas\lazarusccr\applications\lazimageeditor\
|
Loading…
Reference in New Issue
Block a user