Skip to content

Commit

Permalink
#4064 add MacOS and MS Windows wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Dec 7, 2023
1 parent 8ebe175 commit 9152e3f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
Binary file added fs/share/xpra/icons/toolbox.ico
Binary file not shown.
9 changes: 5 additions & 4 deletions packaging/MSWindows/xpra.iss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[Setup]
AppName=Xpra
AppId=Xpra_is1
AppVersion=6.0
AppVerName=Xpra 6.0
UninstallDisplayName=Xpra 6.0
AppVersion=6.0
AppVerName=Xpra 6.0
UninstallDisplayName=Xpra 6.0
AppPublisher=xpra.org
AppPublisherURL=http:;xpra.org/
DefaultDirName={pf}\Xpra
Expand All @@ -16,7 +16,7 @@ OutputBaseFilename=Xpra_Setup
Compression=lzma2/max
SolidCompression=yes
AllowUNCPath=false
VersionInfoVersion=6.0
VersionInfoVersion=6.0
VersionInfoCompany=xpra.org
VersionInfoDescription=multi-platform screen and application forwarding system
WizardImageFile=packaging\MSWindows\xpra-logo.bmp
Expand Down Expand Up @@ -46,6 +46,7 @@ Name: "{group}\Xpra Session Browser"; Filename: "{app}\Xpra.exe"; Parameters: "s
Name: "{group}\Xpra Homepage"; Filename: "{app}\website.url"
Name: "{group}\Xpra Command Manual"; Filename: "{app}\manual.html"
Name: "{group}\Xpra Shadow Server"; Filename: "{app}\Xpra.exe"; WorkingDir: {app}; Parameters: "shadow --bind-tcp=0.0.0.0:14500,auth=sys,ssl-cert=auto"; IconFilename: {app}\icons\server-connected.ico
Name: "{group}\Xpra Configuration"; Filename: "{app}\Configure.exe"; WorkingDir: {app}; IconFilename: {app}\icons\toolbox.ico


[Run]
Expand Down
8 changes: 8 additions & 0 deletions packaging/MacOS/Helpers/Configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

#call the "Python" wrapper:
exe_name=$(basename $0)
full_path=$(cd "$(dirname "$0")"; pwd -P)
PYTHON="$full_path/PythonExecWrapper"

exec "$PYTHON" "Xpra" -c "import sys;sys.argv[0]=\"${full_path}/$exe_name\";from xpra.gtk.configure.main import main;main()" "$@"

0 comments on commit 9152e3f

Please sign in to comment.