Skip to content

Commit

Permalink
Fix ZeroNet.cmd file, Add ZeroNet icon to shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Seibold committed May 21, 2018
1 parent d8e5d0c commit fa80882
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 5 deletions.
Binary file modified Output/ZeroNetInstaller.exe
Binary file not shown.
1 change: 1 addition & 0 deletions ZeroBundle/ZeroNet.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@echo off
cd %~dp0
if "%1" == "" (
Python\python.exe -m zerobundle.run https://github.com/HelloZeroNet/ZeroNet start.py
) else (
Expand Down
Binary file added ZeroBundle/ZeroNet.ico
Binary file not shown.
Binary file added ZeroNet-win-dist/meek-client.ico
Binary file not shown.
Binary file added ZeroNet-win-dist/obfs4proxy.ico
Binary file not shown.
Binary file added ZeroNet-win-dist/openssl.ico
Binary file not shown.
Binary file added ZeroNet-win-dist/tor.ico
Binary file not shown.
10 changes: 5 additions & 5 deletions ZeroNetInstaller.iss
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ Source: "Plugins\P2P-messages\*"; DestDir: "{app}\ZeroNet\plugins\P2P-messages";

[Icons]
Name: "{group}\Data directory"; Filename: "{app}\ZeroNet\data"; Flags: foldershortcut
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; \
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\ZeroNet.ico"; \
AfterInstall: SetElevationBit('{group}\{#MyAppName}.lnk')
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; \
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; IconFilename: "{app}\ZeroNet.ico"; \
AfterInstall: SetElevationBit('{commondesktop}\{#MyAppName}.lnk')

[Run]
Expand All @@ -89,9 +89,9 @@ Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environmen
ValueType: String; ValueName: "ZERONET_BUNDLE_ROOT"; ValueData: "{app}"; Flags: uninsdeletekeyifempty uninsdeletevalue;
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \
ValueType: String; ValueName: "ZERONET_DATA_DIR"; ValueData: "{app}\ZeroNet\data"; Flags: uninsdeletekeyifempty uninsdeletevalue;
; Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \
ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}\bin"; \
Check: NeedsAddPath(ExpandConstant('{app}\bin'))
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \
ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}"; \
Check: NeedsAddPath(ExpandConstant('{app}'))

[InstallDelete]
; Delete files from old installation, version 1.2 and below
Expand Down

0 comments on commit fa80882

Please sign in to comment.