From 267c33d690328af27a3d3c5e11bf5af5a2f19df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=81nis=20Erdmanis?= Date: Wed, 6 Dec 2023 15:52:13 +0200 Subject: [PATCH 1/5] Update Project.toml --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 8eb03eb..4aec435 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "AppBundler" uuid = "40eb83ae-c93a-480c-8f39-f018b568f472" authors = ["Janis Erdmanis "] -version = "0.1.2" +version = "0.1.1" [deps] Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" @@ -27,4 +27,4 @@ Pkg = "1.9" TOML = "1" Tar = "1" p7zip_jll = "17.4" -julia = "1" \ No newline at end of file +julia = "1" From 378b18adc6afd449448cfb402e60523f16ddcf3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=81nis=20Erdmanis?= Date: Wed, 6 Dec 2023 17:41:40 +0200 Subject: [PATCH 2/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c197654..a76ebeb 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ After the bundle is created, it needs to be finalised on the host system, where 3. Code signing can be performed with `codesign`. `Resources/Entitlements.plist` file contains entitlements which should be used when signing the final bundle. 4. For the creation of a dmg bundle, the `dmgbuild` is recommended, which can be installed conveniently with `pip install dmgbuild`. For convenience, `Resources/dmg_settings.py` is provided, which allows to `dmgbuild -s "MyApp/Contents/Resources/dmg_settings.py" -D app="MyApp" "MyApp Installer" "MyApp.dmg"` -The signing certificate can be obtained from Apple by subscribing to its developer program. Alternatively, for development purposes, you can generate a self-signing certificate. Follow [offciial instructions of Apple](https://support.apple.com/en-gb/guide/keychain-access/kyca8916/mac), set *Certificate Type* to *Code Signing` and fill out the rest of the parameters as [instructed on youtube](https://www.youtube.com/watch?v=OpR9-onRZko). +The signing certificate can be obtained from Apple by subscribing to its developer program. Alternatively, for development purposes, you can generate a self-signing certificate. Follow [offciial instructions of Apple](https://support.apple.com/en-gb/guide/keychain-access/kyca8916/mac), set *Certificate Type* to *Code Signing* and fill out the rest of the parameters as [instructed on youtube](https://www.youtube.com/watch?v=OpR9-onRZko). ### Linux From 6b7660ec1bc11b7da301271f25d3936c957a422c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=81nis=20Erdmanis?= Date: Wed, 6 Dec 2023 17:42:45 +0200 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a76ebeb..e32c363 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ After the bundle is created, it needs to be finalised on the host system, where 3. Code signing can be performed with `codesign`. `Resources/Entitlements.plist` file contains entitlements which should be used when signing the final bundle. 4. For the creation of a dmg bundle, the `dmgbuild` is recommended, which can be installed conveniently with `pip install dmgbuild`. For convenience, `Resources/dmg_settings.py` is provided, which allows to `dmgbuild -s "MyApp/Contents/Resources/dmg_settings.py" -D app="MyApp" "MyApp Installer" "MyApp.dmg"` -The signing certificate can be obtained from Apple by subscribing to its developer program. Alternatively, for development purposes, you can generate a self-signing certificate. Follow [offciial instructions of Apple](https://support.apple.com/en-gb/guide/keychain-access/kyca8916/mac), set *Certificate Type* to *Code Signing* and fill out the rest of the parameters as [instructed on youtube](https://www.youtube.com/watch?v=OpR9-onRZko). +The signing certificate can be obtained from Apple by subscribing to its developer program. Alternatively, for development purposes, you can generate a self-signing certificate. Follow [official instructions of Apple](https://support.apple.com/en-gb/guide/keychain-access/kyca8916/mac), set *Certificate Type* to *Code Signing* and fill out the rest of the parameters as [instructed on youtube](https://www.youtube.com/watch?v=OpR9-onRZko). ### Linux From 8bb494d982709e2bb7c1f052d0407181caa188a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Tue, 16 Jan 2024 14:16:04 +0000 Subject: [PATCH 4/5] Fix for non-exported [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e32c363..1ab2cb0 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ A bundle can be created with `AppBundler.bundle_app` function as follows: ```julia import AppBundler import Pkg.BinaryPlatforms: Linux, MacOS, Windows -bundle_app(MacOS(:x86_64), "MyApp", "build/MyApp-x64.app") +AppBundler.bundle_app(MacOS(:x86_64), "MyApp", "build/MyApp-x64.app") ``` The first argument is a platform for which the bundle is being made; in this case, MacOS; `MyApp` is the location for the project, and `build/MyApp-x64.app` is the location where the bundles will be stored. For Linux, the extension `.snap` and Windows `.zip` for destination determines whether the output is compressed, which can be overridden by `compress=false` in the keyword arguments. From 5229347265e6a6eb206845d397fa1972a1efc5a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Thu, 18 Jan 2024 13:19:01 +0000 Subject: [PATCH 5/5] Fix typo - Update README.md [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1ab2cb0..d3b2be9 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ For snap, it is also worth mentioning the `snap try myapp` command, which allows ### Windows -For Windows, one has to install `makappx`, `signtool`, and `editbin` installed with WindowsSDK. Installation of Windows SDK fails. Thus, one needs to install Visual Studio Code, adding a few more gigabytes to download and install. For those who run Windows from Parallels, don't run the `Add-Package -register AppxManifest.xml` from a network drive, but copy the files to the home directory instead, as otherwise, Julia crashes. Also, running an executable from installation location `C:\ProgramFiles\WindowsApps\` with admin privileges will run the application within the containerised environment specified with `AppxManifest.xml`. +For Windows, one has to install `MakeAppx`, `SignTool`, and `EditBin` installed with WindowsSDK. Installation of Windows SDK fails. Thus, one needs to install Visual Studio Code, adding a few more gigabytes to download and install. For those who run Windows from Parallels, don't run the `Add-Package -register AppxManifest.xml` from a network drive, but copy the files to the home directory instead, as otherwise, Julia crashes. Also, running an executable from installation location `C:\ProgramFiles\WindowsApps\` with admin privileges will run the application within the containerised environment specified with `AppxManifest.xml`. **Generation of Self-Signing Certificate** @@ -82,7 +82,7 @@ which generates a pfx certificate and adds password protection. After installation of Visual Studio Code, find the relevant tools (best to do that with Windows Finder) and either add them to a path or make an alias like: ```powershell -New-Alias -Name makeappx -Value "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\makeappx.exe" +New-Alias -Name makeappx -Value "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\MakeAppx.exe" New-Alias -Name signtool -Value "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe" New-Alias -Name editbin -Value "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\Hostx64\x64\editbin.exe" ```