Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Backport UI changes - do not merge #174

Open
wants to merge 277 commits into
base: develop-0.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
277 commits
Select commit Hold shift + click to select a range
88079b9
resolved review comments
matthme Jun 12, 2023
4583200
Merge pull request #168 from holochain/feat/ui-update-dot
matthme Jun 12, 2023
36c2eeb
fixed indentation
matthme Jun 12, 2023
21d3eed
Merge pull request #169 from holochain/feat/uninstall-devhub-warning
matthme Jun 12, 2023
87c2779
Uninstalling devhub correcty disables devMode
tibetsprague Jun 13, 2023
364e2ac
Merge pull request #170 from holochain/fix-uninstall-devhub
matthme Jun 13, 2023
ffa6b38
moved UI asset fetching to backend
matthme Jun 13, 2023
5079a59
Add advanced settings section w/ Dev Mode and Launcher Config
tibetsprague Jun 13, 2023
72ca837
Merge pull request #173 from holochain/feat/fetch-ui-in-backend
matthme Jun 14, 2023
11e3ebc
Get Config dialog to launch from Advanced Settings
tibetsprague Jun 14, 2023
9cdfa3f
Merge branch 'develop' into advanced-settings
tibetsprague Jun 14, 2023
9b0422a
Merge pull request #172 from holochain/advanced-settings
matthme Jun 14, 2023
e3ad610
moved open config logic to method, fixed sorting of headless apps
matthme Jun 14, 2023
ee7dcd3
bumped to holochain 0.3.0-beta-dev.4
matthme Jun 14, 2023
1b55a10
renamed updater.json
matthme Jun 14, 2023
ec74829
fixed windows binary name in release.yaml
matthme Jun 14, 2023
96671ac
re-added other targets
matthme Jun 14, 2023
0e434bb
updated README, added new app publishing instructions and updated URL…
matthme Jun 15, 2023
f6e42cc
updated app publishing instructions
matthme Jun 15, 2023
191e09d
moving disabled apps to the end in launcher view and make them transp…
matthme Jun 16, 2023
c789302
fixed yellow dot not updating on gear icon
matthme Jun 16, 2023
4a5b972
Merge pull request #175 from holochain/feat/sort-disabled-apps
matthme Jun 17, 2023
addc5d2
updated readme for 0.1.5 release
matthme Jun 19, 2023
e64f976
bumped to tauri 1.4.0
matthme Jul 4, 2023
cf34dfd
bumped to holochain 0.3.0-beta-dev.7
matthme Jul 4, 2023
373dcfd
bumped to holochain 0.3.0-beta-dev.8
matthme Jul 5, 2023
e30a0c3
bumped devhub_types
matthme Jul 5, 2023
352578e
front-ported changes from launcher-redesign-0.1.X
matthme Jul 11, 2023
b78fb84
fixed window building by systray and single-instance plugin
matthme Jul 12, 2023
ba63422
bumped version number
matthme Jul 17, 2023
69372b2
switched to custom single-instance plugin
matthme Jul 17, 2023
aed5296
using strum crate to iterate through Holochain versions during factor…
matthme Jul 17, 2023
106852b
made factory reset and forgot password UX less ambiguous
matthme Jul 17, 2023
97d5f6d
acquire pub_key_map lock in dedicated scope to prevent deadlocks with…
matthme Jul 17, 2023
ac9a334
made appstore search case-insensitive and fixed bug with wrong icons …
matthme Jul 18, 2023
c853e16
added gui_release_info upon installation of appstore
matthme Jul 18, 2023
5eb4466
fixed scrolling behavior in AppStore view, added release info to devh…
matthme Jul 18, 2023
8444cb9
switched to holochain 0.2.1-beta-rc.0
matthme Jul 19, 2023
b02c36d
fixing hc launch with 0.2.1-beta-rc.0 wip
matthme Jul 19, 2023
371680a
bumping hc launch and adapting to Clap, WIP
matthme Jul 19, 2023
50cfa16
identifier to 0.2, bumped launcher version number
matthme Jul 19, 2023
3a3f86d
changed devhub/appstore network seeds
matthme Jul 19, 2023
ffc211b
fixed devmodetoggle
matthme Jul 19, 2023
6962895
renamed launcher to beta 2
matthme Jul 19, 2023
39bab4a
renamed launcher to beta 2
matthme Jul 19, 2023
81ecbac
bumped devhub/appstore and launcher version number
matthme Jul 20, 2023
b85e962
added waiting animation when searching for peers
matthme Jul 21, 2023
009717e
changed systray order
matthme Jul 21, 2023
0258c3e
improved error display in SelectReleaseDialog
matthme Jul 21, 2023
4b73712
improved help message in hc launch CLI
matthme Jul 24, 2023
4228c37
fixed connection refused error when getting app websocked by moving c…
matthme Jul 24, 2023
574df31
bumped version number
matthme Jul 24, 2023
f0b15fb
bumped to holochain 0.2.1
matthme Jul 24, 2023
970167a
added logic to fetch icon from appstore explicitly when fetching webh…
matthme Jul 26, 2023
25e6df0
bumped to new devhub/appstore versions including changes to hc_crud_caps
matthme Jul 27, 2023
e9b1abc
bumped version number for release, switched to production network see…
matthme Jul 27, 2023
9d7cb73
updated dev-setup.md
matthme Aug 2, 2023
2270996
bump package-json
mrruby Aug 3, 2023
93a592c
update dev docs
mrruby Aug 3, 2023
5532a61
Merge pull request #184 from holochain/documentation/upgrade
matthme Aug 3, 2023
0d3f273
removed label
mrruby Aug 3, 2023
3c2b404
Merge pull request #185 from holochain/dont-show-text-remove
matthme Aug 3, 2023
7c179e6
bumped to new devhub UI and added corresponding shasum
matthme Aug 8, 2023
0868f22
bumped rust client to 0.4.1
matthme Aug 10, 2023
fbd787b
bumped js client to 0.16.0
matthme Aug 10, 2023
c61e446
replaced mwc-circular-progress with own version
matthme Aug 10, 2023
4b37f4b
Merge pull request #187 from holochain/circular-progress
matthme Aug 10, 2023
f919e81
improved error handling when list_app_interfaces() fails
matthme Aug 10, 2023
4ad68a0
trying to install lair from git on Windows
matthme Aug 10, 2023
3a5cb73
installing lair keystore with locked flag for windows on CI
matthme Aug 10, 2023
91172c3
moved lair install from git to Windows instead of macOS
matthme Aug 11, 2023
f7c7d06
only releasing for Windows
matthme Aug 11, 2023
4531368
changed to frozen flag
matthme Aug 11, 2023
278f07a
Add lint/prettier
mrruby Aug 11, 2023
38afd68
Format files with prettier
mrruby Aug 11, 2023
ea16aee
Merge pull request #188 from holochain/lint-prettier
matthme Aug 11, 2023
1040b02
fixed typo
matthme Aug 11, 2023
8392d47
Add start:dev script to package.json
mrruby Aug 14, 2023
1ed92aa
Fix eslint errors
mrruby Aug 14, 2023
f2871f6
Move AppWebsocket.connect to store
mrruby Aug 14, 2023
5f0760d
Add README new script comment
mrruby Aug 15, 2023
fb92386
initial draft of launcher api
matthme Aug 15, 2023
82f2707
notification POC working
matthme Aug 15, 2023
bec20f5
added api-scripts initialization_script in the right place
matthme Aug 15, 2023
e709e2d
Fix console issues
mrruby Aug 15, 2023
5ec511a
bumping to holochain at commit f01027 (PR 2660), partial progress
matthme Aug 16, 2023
7816bfc
Fix issues
mrruby Aug 16, 2023
d806f2c
Fix scripts
mrruby Aug 16, 2023
e8f1d79
Fix typo
mrruby Aug 16, 2023
f6eb9be
Merge pull request #189 from holochain/appstore.connect-refactor
matthme Aug 16, 2023
d2a8eca
lair-keystore-0.3
matthme Aug 17, 2023
e43f8b4
Merge pull request #190 from holochain/lair-keystore-0.3
matthme Aug 17, 2023
8119f83
fixed release.yaml
matthme Aug 17, 2023
8b44fd5
ignore readme in eslint
matthme Aug 17, 2023
551cfd1
added download table to main README
matthme Aug 17, 2023
8b889de
added holochain verison to download table
matthme Aug 17, 2023
4cf3103
fixed updater.json version
matthme Aug 17, 2023
5a8f8cb
fixed release.yaml
matthme Aug 17, 2023
fbfc8ab
merging develop
matthme Aug 17, 2023
8d71e98
fixed macos release workflow
matthme Aug 17, 2023
ae1a32f
added notifications backend logic (os notifications and systray icon …
matthme Aug 17, 2023
2d68227
added frontend logic to listen for happ notification event
matthme Aug 17, 2023
f3ae648
updated readme with new release
matthme Aug 17, 2023
cd6f973
notifications working but not getting cleared yet
matthme Aug 17, 2023
bd3b80a
reverted accidental adding of dist dir
matthme Aug 21, 2023
c295de5
fixed api-scripts readme
matthme Aug 21, 2023
17ae954
Fix spacing apps
mrruby Aug 21, 2023
952f460
Merge pull request #191 from holochain/fix-spacing
matthme Aug 21, 2023
239fe35
Update README.md
matthme Aug 22, 2023
5052edc
Add language settings to app UI
mrruby Aug 22, 2023
a2c63e8
Add german locale
mrruby Aug 22, 2023
4cf438c
Merge pull request #192 from holochain/settings-language
matthme Aug 22, 2023
02b688c
added option to read admin port from env var
matthme Aug 24, 2023
52481d5
added holochain bump instructions
matthme Aug 24, 2023
239e8b3
Add script
mrruby Aug 29, 2023
ab1e0a5
Upgrade dependencies
mrruby Aug 31, 2023
d368c15
Bump dependencies
mrruby Sep 1, 2023
8ceb49b
Fix "Error Launching Holochain issue"
mrruby Sep 1, 2023
17a000c
Fix PR comment
mrruby Sep 6, 2023
979ff3f
Fix naming issue and remove dmg file (+1 squashed commit)
mrruby Sep 5, 2023
2fcf257
Fix issue with naming
mrruby Sep 6, 2023
b08236a
Merge pull request #194 from holochain/develop-new-version-dry-run
matthme Sep 6, 2023
fdd552d
Merge branch 'develop' into publish-apps-script
matthme Sep 6, 2023
62a9569
Merge pull request #193 from holochain/publish-apps-script
matthme Sep 6, 2023
e35471f
changed launcher version to test release version
matthme Sep 6, 2023
2dcff46
Bump dependency
mrruby Sep 6, 2023
e989c1c
Merge pull request #195 from holochain/develop
mrruby Sep 6, 2023
63f6ef1
Fix package lock
mrruby Sep 6, 2023
efbcef7
Merge pull request #196 from holochain/develop
mrruby Sep 6, 2023
690c2f3
Fix build issue
mrruby Sep 6, 2023
f467fb7
Merge pull request #197 from holochain/develop
mrruby Sep 6, 2023
4d2de22
fixed readme links
matthme Sep 7, 2023
62a95d4
added pubkeys of available hosts to title attribute of online node in…
matthme Sep 7, 2023
30a9b76
fixed use of wrong app icon when installing app from file system
matthme Sep 7, 2023
5cf5f2a
fixed missing update buttons
matthme Sep 7, 2023
adf563e
Fix appWebsocket issue
mrruby Sep 7, 2023
8205743
Remove comment
mrruby Sep 7, 2023
e34a156
Merge pull request #198 from holochain/fix-appWebsocket
matthme Sep 7, 2023
d0f3ec5
merge develop to stay up to date
matthme Sep 7, 2023
d39c796
fix beforeDevCommand
matthme Sep 7, 2023
97d9b85
fixed package-lock.json
matthme Sep 7, 2023
241205c
storing notifications to localStorage, added logic to clear unread no…
matthme Sep 11, 2023
bbe7420
added notification dot, added notifications to vuex store
matthme Sep 11, 2023
7bef5a8
adding logic to fetch filterlist and filter apps in appstore accordingly
matthme Sep 12, 2023
de27a7b
cleaned up if/else statements in app filtering, removed unnecessary c…
matthme Sep 12, 2023
22f2efb
Merge pull request #201 from holochain/appstore-filtering
matthme Sep 14, 2023
023a37e
bumped to holochain 0.2.2, addressed #200
matthme Sep 14, 2023
f245679
Merge branch 'develop'
matthme Sep 14, 2023
f1a73d6
fixed css
matthme Sep 14, 2023
95d2371
Merge branch 'develop'
matthme Sep 15, 2023
555feee
fixed css issue
matthme Sep 18, 2023
2317f45
Merge branch 'develop'
matthme Sep 18, 2023
08122ea
updated download links in readme
matthme Sep 18, 2023
8c44403
updated updater_0_2.json
matthme Sep 18, 2023
66db976
removed apps from filterlist
matthme Sep 18, 2023
868e0cc
use no cache when fetching filterlist
matthme Sep 18, 2023
249fd08
fixed bug where older app releases could not be downloaded
matthme Sep 18, 2023
efa89a6
Add drag and drop
mrruby Sep 20, 2023
5a764bb
Fix after CR
mrruby Sep 20, 2023
52b79d1
Fix localStarge key
mrruby Sep 20, 2023
a69575b
Merge pull request #202 from holochain/feature/apps-grid-draggable
matthme Sep 20, 2023
34ae812
updated filter list
matthme Sep 21, 2023
a1d56ef
updated filter list
matthme Sep 27, 2023
0522c05
bumped open and opener crates
matthme Sep 29, 2023
72e6990
merge latest develop
matthme Sep 29, 2023
af514cc
renamed npm packages
matthme Sep 29, 2023
1dfded0
open app windows hidden on startup and keep them open in the backgrou…
matthme Sep 29, 2023
b913c48
fixed custom_count_reset naming
matthme Sep 29, 2023
04ac282
removed console logs and unnecessary code
matthme Sep 29, 2023
756329a
drying up setting and getting of localStorage items
matthme Oct 2, 2023
8e4ebaa
more drying up
matthme Oct 2, 2023
26bd0d5
bumped serde
matthme Oct 5, 2023
a53e6cc
Merge pull request #205 from holochain/launcher-api
matthme Oct 9, 2023
c4782ea
move holochain dependencies to workspace
matthme Oct 9, 2023
cc8fcf4
Merge pull request #206 from holochain/feat/cargo-workspace
matthme Oct 9, 2023
59119e5
added launcherApiAvailable function to API and added README to launch…
matthme Oct 9, 2023
2d9ea34
bump tauri to 1.5 and adapt codesigning accordingly, including .exe/.…
matthme Oct 9, 2023
048cf9b
bumped tauri-build as well
matthme Oct 9, 2023
90f6cdd
fixed case where Conductor ready. line has line break
matthme Oct 9, 2023
a73977a
Merge pull request #207 from holochain/tauri-1.5
matthme Oct 9, 2023
8fafd56
bumped to holochain 0.2.3-beta-rc.1
matthme Oct 9, 2023
a7d45ad
bumped launcher version number
matthme Oct 9, 2023
f5916bd
Merge branch 'develop'
matthme Oct 10, 2023
58f51e5
improved READMEs
matthme Oct 10, 2023
ff0c812
added lib build step in release.yaml
matthme Oct 10, 2023
2b046de
Merge branch 'develop'
matthme Oct 10, 2023
672c3f7
added logic to delete all notification storage when an app is uninsta…
matthme Oct 11, 2023
31d0088
added logic to listen to focus event for macos
matthme Oct 11, 2023
bb3c794
removed non-working workaround for tauri issue 3084
matthme Oct 11, 2023
e51d252
added pimped shell script to install holochai and lair binaries
matthme Oct 11, 2023
c5cb2b1
upadted build:ui script
matthme Oct 11, 2023
7f6dec0
Merge branch 'develop'
matthme Oct 11, 2023
0268619
updated links to latest unstable release
matthme Oct 11, 2023
d1fa316
updated updater.json
matthme Oct 11, 2023
507c386
updated readme download links
matthme Oct 16, 2023
052f7f0
bumped version numbers
matthme Oct 26, 2023
d51dc5d
bumped to holochain-0.2.3-rc.0
matthme Nov 10, 2023
d06ae4c
Merge branch 'develop'
matthme Nov 10, 2023
41de822
more version number updates
matthme Nov 10, 2023
4e0c458
bumped to holochain 0.2.3-rc.1
matthme Nov 17, 2023
18e388c
Merge branch 'develop'
matthme Nov 17, 2023
564c406
fixed holochain version number in tauri-conf.json
matthme Nov 17, 2023
c09ed0c
Merge branch 'develop'
matthme Nov 17, 2023
95db96c
bumped to holochain 0.2.3
matthme Nov 23, 2023
b07bebc
Merge branch 'develop'
matthme Nov 23, 2023
3858daa
Replace default.nix with flake.nix
ThetaSinner Nov 28, 2023
71d047b
Add extra libraries for linux
ThetaSinner Nov 28, 2023
cb9da53
Merge pull request #213 from holochain/replace-default-nix-with-flake
ThetaSinner Nov 28, 2023
091900c
wip
matthme Dec 13, 2023
6cccf76
bumped rust client, bumped launcher version number
matthme Dec 13, 2023
b51ce41
Merge branch 'develop'
matthme Dec 13, 2023
bd48355
fixed tauri.conf.json
matthme Dec 13, 2023
1bada67
Merge branch 'develop'
matthme Dec 13, 2023
672c355
bumped to holochain-0.2.4
matthme Jan 18, 2024
334f197
updated package-lock.json
matthme Jan 18, 2024
fc3534d
Merge branch 'develop'
matthme Jan 18, 2024
dcc3d69
bumped to holochain 0.2.6
matthme Feb 6, 2024
67d4933
Merge branch 'develop'
matthme Feb 6, 2024
318458f
using ubuntu 22.04
matthme Feb 6, 2024
6404b30
Merge branch 'develop'
matthme Feb 6, 2024
29411d0
fixed lair-keystore version, updated ubuntu dependencies
matthme Feb 6, 2024
cb39412
Merge branch 'develop'
matthme Feb 6, 2024
f827e44
fixed compile errors
matthme Feb 7, 2024
0a4601c
Merge branch 'develop'
matthme Feb 7, 2024
6a1b333
fixed lair-keystore version
matthme Feb 7, 2024
9538e1f
Merge branch 'develop'
matthme Feb 7, 2024
1827039
updated download table
matthme Feb 21, 2024
a6660cf
bumped to holochain 0.2.7
matthme Apr 15, 2024
06b8d36
Merge branch 'develop'
matthme Apr 15, 2024
e6d791e
fetching binaries from github for Windows
matthme Apr 17, 2024
a6a9d08
Merge branch 'develop'
matthme Apr 17, 2024
87e96be
specify version of azuresigntools
matthme Apr 17, 2024
4281b4e
Merge branch 'develop'
matthme Apr 17, 2024
07f63a8
added long explicit timeout to Cargo.toml
matthme Apr 17, 2024
8a467c5
another attempt to increase the timeout
matthme Apr 17, 2024
0975ae5
bumped rust client
matthme Apr 17, 2024
279274b
bumped js-client
matthme Apr 17, 2024
196563a
added all targets again
matthme Apr 17, 2024
fabd32a
bumped to holochain 0.2.8-rc.0
matthme Apr 24, 2024
e172e77
fixed renaming of holochain version
matthme Apr 24, 2024
3d159f7
bumped to 0.2.8-rc.1
matthme Apr 25, 2024
0c81099
bumped node version and fetching binaries from github
matthme Apr 25, 2024
4168fbc
removed package-lock.json
matthme Apr 25, 2024
3e326db
add tauri-apps/cli install
matthme Apr 25, 2024
09bb745
bumped node action, added arch output
matthme Apr 25, 2024
b8eb171
pinned tauri-apps/cli to version with x64-darwin
matthme Apr 25, 2024
df6bbe0
point to fork of tauri action
matthme Apr 26, 2024
a5658d5
fixed holochain version in readme
matthme May 7, 2024
95defa9
fixed link of latest stable release
matthme May 7, 2024
ec366b3
Add unmaintained note
matthme Jul 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# don't ever lint node_modules
node_modules
# don't lint build output (make sure it's set to your correct build folder name)
dist
24 changes: 24 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"root": true,
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
"extends": [
"plugin:vue/strongly-recommended",
"eslint:recommended",
"@vue/typescript/recommended",
"prettier"
],
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"prettier/prettier": "error",
"vue/attribute-hyphenation": "off",
"vue/no-multiple-template-root": "off",
"vue/multi-word-component-names": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_" }
]
}
}
13 changes: 7 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
title: ""
labels: bug
assignees: ''

assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -21,16 +21,17 @@ Steps to reproduce the behavior:
A clear and concise description of what you expected to happen.

**Logs**
Please attach here the `launcher.log` file. To find it, go to `Holochain Admin` window of the Holochain Launcher, select the `Settings` menu, and select `Open Logs`. Attach that file to this issue.
Please attach here the `launcher.log` file. To find it, go to `Holochain Admin` window of the Holochain Launcher, select the `Settings` menu, and select `Open Logs`. Attach that file to this issue.

> In Ubuntu, there is a weird error that prevents the upload of a file from inside a hidden folder. To work around it, you can copy the `launcher.log` file to another non-hidden location, and upload it from there.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. MacOs v10.13]
- Holochain Launcher Version [e.g. 0.], you can find out in `Help` > 'About'

- OS: [e.g. MacOs v10.13]
- Holochain Launcher Version [e.g. 0.], you can find out in `Help` > 'About'

**Additional context**
Add any other context about the problem here.
9 changes: 3 additions & 6 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---


7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Is your feature request related to a problem? Please describe.**
Expand Down
135 changes: 88 additions & 47 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [windows-2019, macos-11, ubuntu-20.04]
# platform: [windows-2019]
platform: [macos-11]
# platform: [windows-2019, macos-11, ubuntu-22.04]
env:
MACOSX_DEPLOYMENT_TARGET: 10.13

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
Expand All @@ -28,77 +30,101 @@ jobs:
- name: install Go stable
uses: actions/setup-go@v4
with:
go-version: 'stable'
go-version: "stable"

- name: install app dependencies and info
run: npm install && npm run tauri info
run: npm install && npm run tauri info && node -p "process.arch"

- name: build libs
run: npm run build -w @holochain/launcher-api-scripts

- name: setup binaries (Windows only)
if: matrix.platform == 'windows-2019'
run: |
mkdir src-tauri/bins

cargo install --version 0.2.3 lair_keystore
$LkPath = Get-Command lair-keystore | Select-Object -ExpandProperty Definition
Copy-Item $LkPath -Destination src-tauri/bins/lair-keystore-v0.2.3-x86_64-pc-windows-msvc.exe
# cargo install --version 0.4.2 lair_keystore
# $LkPath = Get-Command lair-keystore | Select-Object -ExpandProperty Definition
# Copy-Item $LkPath -Destination src-tauri/bins/lair-keystore-v0.4.2-x86_64-pc-windows-msvc.exe

# cargo install holochain --version 0.2.8-rc.1 --locked --features sqlite-encrypted
# $HcPath = Get-Command holochain | Select-Object -ExpandProperty Definition
# Copy-Item $HcPath -Destination src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-pc-windows-msvc.exe

cargo install holochain --version 0.1.5-beta-rc.1 --locked --features sqlite-encrypted
$HcPath = Get-Command holochain | Select-Object -ExpandProperty Definition
Copy-Item $HcPath -Destination src-tauri/bins/holochain-v0.1.5-beta-rc.1-x86_64-pc-windows-msvc.exe
curl -L --output src-tauri/bins/lair-keystore-v0.4.2-x86_64-pc-windows-msvc.exe https://github.com/matthme/holochain-binaries/releases/download/lair-binaries-0.4.2/lair-keystore-v0.4.2-x86_64-pc-windows-msvc.exe
curl -L --output src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-pc-windows-msvc.exe https://github.com/matthme/holochain-binaries/releases/download/holochain-binaries-0.2.8-rc.1/holochain-v0.2.8-rc.1-x86_64-pc-windows-msvc.exe

# NEW_VERSION: install new holochain version and copy its binary to the tauri path


- name: setup binaries (macos only)
if: matrix.platform == 'macos-11'
run: |
mkdir src-tauri/bins

cargo install --version 0.2.3 lair_keystore
LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH src-tauri/bins/lair-keystore-v0.2.3-x86_64-apple-darwin
# cargo install --version 0.4.2 lair_keystore
# LAIR_PATH=$(which lair-keystore)
# cp $LAIR_PATH src-tauri/bins/lair-keystore-v0.4.2-x86_64-apple-darwin

# cargo install holochain --version 0.2.8-rc.1 --locked --features sqlite-encrypted
# HOLOCHAIN_PATH=$(which holochain)
# cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-apple-darwin

curl -L --output src-tauri/bins/lair-keystore-v0.4.2-x86_64-apple-darwin https://github.com/matthme/holochain-binaries/releases/download/lair-binaries-0.4.2/lair-keystore-v0.4.2-x86_64-apple-darwin
curl -L --output src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-apple-darwin https://github.com/matthme/holochain-binaries/releases/download/holochain-binaries-0.2.8-rc.1/holochain-v0.2.8-rc.1-x86_64-apple-darwin

chmod +x src-tauri/bins/lair-keystore-v0.4.2-x86_64-apple-darwin
chmod +x src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-apple-darwin

cargo install holochain --version 0.1.5-beta-rc.1 --locked --features sqlite-encrypted
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.1.5-beta-rc.1-x86_64-apple-darwin

# NEW_VERSION: install new holochain version and copy its binary to the tauri path

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libcanberra-gtk-module libcanberra-gtk3-module build-essential curl wget libssl-dev libgtk-3-dev squashfs-tools libgtksourceview-3.0-dev libappindicator3-dev patchelf librsvg2-dev ayatana-indicator-application

sudo apt-get install libwebkit2gtk-4.0-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev

- name: setup binaries (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-22.04'
run: |
mkdir src-tauri/bins

cargo install --version 0.2.3 lair_keystore
LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH src-tauri/bins/lair-keystore-v0.2.3-x86_64-unknown-linux-gnu
# cargo install --version 0.4.2 lair_keystore
# LAIR_PATH=$(which lair-keystore)
# cp $LAIR_PATH src-tauri/bins/lair-keystore-v0.4.2-x86_64-unknown-linux-gnu


# cargo install holochain --version 0.2.8-rc.1 --locked --features sqlite-encrypted
# HOLOCHAIN_PATH=$(which holochain)
# cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-unknown-linux-gnu

cargo install holochain --version 0.1.5-beta-rc.1 --locked --features sqlite-encrypted
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH src-tauri/bins/holochain-v0.1.5-beta-rc.1-x86_64-unknown-linux-gnu
curl -L --output src-tauri/bins/lair-keystore-v0.4.2-x86_64-unknown-linux-gnu https://github.com/matthme/holochain-binaries/releases/download/lair-binaries-0.4.2/lair-keystore-v0.4.2-x86_64-unknown-linux-gnu
curl -L --output src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-unknown-linux-gnu https://github.com/matthme/holochain-binaries/releases/download/holochain-binaries-0.2.8-rc.1/holochain-v0.2.8-rc.1-x86_64-unknown-linux-gnu

chmod +x src-tauri/bins/lair-keystore-v0.4.2-x86_64-unknown-linux-gnu
chmod +x src-tauri/bins/holochain-v0.2.8-rc.1-x86_64-unknown-linux-gnu

# NEW_VERSION: install new holochain version and copy its binary to the tauri path

- name: build the app (macOS and Linux only)
if: matrix.platform == 'ubuntu-20.04' || matrix.platform == 'macos-11'
uses: tauri-apps/tauri-action@dev
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'macos-11'
uses: matthme/tauri-action-ev-signing@pin-tauri-cli
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY_0_2 }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
Expand All @@ -115,38 +141,53 @@ jobs:
if: matrix.platform == 'windows-2019'
run: |

set HTTP_TIMEOUT=1000
npm run build -- --verbose

# NEW_VERSION change version number in filenames here wherever needed

# log hashes before and after code signing to verify that the uploaded assets are the right ones
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi.zip" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi.zip.sig" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi.zip" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi.zip.sig" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.exe" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.nsis.zip" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.nsis.zip.sig" SHA256

dotnet tool install --global --version 4.0.1 AzureSignTool
# sign the .msi file
AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi"
# sign the .exe file
AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.exe"

dotnet tool install --global AzureSignTool
AzureSignTool sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.digicert.com -v "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi"

# remove the .msi.zip and .msi.zip.sig files generated by tauri's build command as they are not code signed
rm "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi.zip"
rm "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi.zip.sig"
# remove the .msi.zip, .msi.zip.sig, nsis.zip and nsis.zip.sig files generated by tauri's build command as they are not code signed
rm "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi.zip"
rm "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi.zip.sig"
rm "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.nsis.zip"
rm "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.nsis.zip.sig"

# zip and sign the code signed .msi
7z a -mx=0 "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi.zip" "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi"
npm run tauri signer sign "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY }} -p "${{ secrets.TAURI_KEY_PASSWORD }}"
# zip and sign the code signed .msi and .exe
7z a -mx=0 "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi.zip" "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi"
npm run tauri signer sign "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY_0_2 }} -p "${{ secrets.TAURI_KEY_PASSWORD }}"

7z a -mx=0 "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.nsis.zip" "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.exe"
npm run tauri signer sign "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.nsis.zip" -- -k ${{ secrets.TAURI_PRIVATE_KEY_0_2 }} -p "${{ secrets.TAURI_KEY_PASSWORD }}"

# log hashes before and after code signing to verify that the uploaded assets are the right ones
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi.zip" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle/msi/Holochain Launcher Beta 1_0.9.990_x64_en-US.msi.zip.sig" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi.zip" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\msi\Holochain Launcher Beta 2_0.11.6_x64_en-US.msi.zip.sig" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.exe" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.nsis.zip" SHA256
CertUtil -hashfile "D:\a\launcher\launcher\target\release\bundle\nsis\Holochain Launcher Beta 2_0.11.6_x64-setup.nsis.zip.sig" SHA256

env:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY_0_2 }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}


- name: upload signed .msi, .msi.zip, .msi.zip.sig files to github release (Windows only)
uses: matthme/tauri-action-ev-signing@dist
- name: upload signed .msi, .msi.zip, .msi.zip.sig, .exe, .nsis.zip, .nsis.zip.sig files to github release (Windows only)
uses: matthme/tauri-action-ev-signing@upload-only
if: matrix.platform == 'windows-2019'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading
Loading