This repository has been archived by the owner on Sep 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add windows exe and installer building
- Loading branch information
Showing
8 changed files
with
112 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.7.10' | ||
__version__ = '0.7.11' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import os | ||
import glob | ||
__all__ = [os.path.basename(f)[:-3] | ||
for f in glob.glob(os.path.dirname(__file__) + "/*.py") | ||
if not os.path.basename(f).startswith('_')] | ||
for f in glob.glob(os.path.join(os.path.dirname(__file__),"*.py")) | ||
if not os.path.basename(f).startswith('_')] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
[Setup] | ||
; NOTE: The value of AppId uniquely identifies this application. | ||
; Do not use the same AppId value in installers for other applications. | ||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) | ||
AppId={{995A883B-B090-439D-966B-B32C8B938AC4} | ||
AppName=Exoline | ||
AppVersion=0.7.11 | ||
;AppVerName=Exoline 0.7.11 | ||
AppPublisher=Exosite | ||
AppPublisherURL=https://github.com/exosite/exoline | ||
AppSupportURL=https://github.com/exosite/exoline/issues | ||
AppUpdatesURL=https://github.com/exosite/exoline | ||
DefaultDirName={pf}\Exoline | ||
DefaultGroupName=Exoline | ||
AllowNoIcons=yes | ||
Compression=lzma | ||
SolidCompression=yes | ||
ChangesEnvironment=yes | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
|
||
[Files] | ||
Source: "C:\Users\danw\Source\Repos\exoline\dist\exo\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | ||
|
||
[Files] | ||
Source: "website.url"; DestDir: "{app}" | ||
|
||
[Icons] | ||
Name: "{group}\Source code and documentation"; Filename: "{app}\website.url" | ||
Name: "{group}\{cm:UninstallProgram,Exoline}"; Filename: "{uninstallexe}" | ||
|
||
[Registry] | ||
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}"; Check: NeedsAddPath('{app}') | ||
|
||
|
||
[Code] | ||
function NeedsAddPath(Param: string): boolean; | ||
var | ||
OrigPath: string; | ||
begin | ||
if not RegQueryStringValue(HKEY_LOCAL_MACHINE, | ||
'SYSTEM\CurrentControlSet\Control\Session Manager\Environment', | ||
'Path', OrigPath) | ||
then begin | ||
Result := True; | ||
exit; | ||
end; | ||
// look for the path with leading and trailing semicolon | ||
// Pos() returns 0 if not found | ||
Result := Pos(';' + Param + ';', ';' + OrigPath + ';') = 0; | ||
end; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[InternetShortcut] | ||
URL=http://github.com/exosite/exoline |