Skip to content

Commit fa9d185

Browse files
committed
perf: lower ubuntu version to build deb, compress exe size in windows
1 parent e3ddd84 commit fa9d185

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/release-linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
release:
99
name: Release Linux App
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-20.04
1111
strategy:
1212
matrix:
1313
platform:

.github/workflows/release-windows.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
with:
3636
go-version: stable
3737

38-
- name: Install makensis
38+
- name: Install chocolatey
3939
uses: crazy-max/ghaction-chocolatey@v2
4040
with:
41-
args: install nsis jq
41+
args: install nsis jq upx
4242

4343
- name: Install wails
4444
shell: bash
@@ -59,7 +59,7 @@ jobs:
5959
6060
- name: Build Windows portable app
6161
shell: bash
62-
run: CGO_ENABLED=1 wails build -clean -platform ${{ matrix.platform }} -ldflags "-X main.version=${{ github.event.release.tag_name }}"
62+
run: CGO_ENABLED=1 wails build -clean -platform ${{ matrix.platform }} -upx -webview2 embed -ldflags "-X main.version=${{ github.event.release.tag_name }}"
6363

6464
- name: Compress portable binary
6565
working-directory: ./build/bin
@@ -76,7 +76,7 @@ jobs:
7676
7777
- name: Build Windows NSIS installer
7878
shell: bash
79-
run: CGO_ENABLED=1 wails build -clean -platform ${{ matrix.platform }} -nsis -ldflags "-X main.version=${{ github.event.release.tag_name }}"
79+
run: CGO_ENABLED=1 wails build -clean -platform ${{ matrix.platform }} -nsis -upx -webview2 embed -ldflags "-X main.version=${{ github.event.release.tag_name }}"
8080

8181
- name: Codesign Windows NSIS installer
8282
working-directory: ./build/bin

build/linux/tiny-rdm_0.0.0_amd64/DEBIAN/control

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Package: {{.Name}}
22
Version: {{.Info.ProductVersion}}
33
Section: base
4-
Depends: libc6 (>= 2.34), libc6 (>= 2.32)
54
Priority: optional
65
Architecture: amd64
76
Maintainer: {{.Author.Name}} <{{.Author.Email}}>

frontend/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import AddFieldsDialog from './components/dialogs/AddFieldsDialog.vue'
1111
import AppContent from './AppContent.vue'
1212
import GroupDialog from './components/dialogs/GroupDialog.vue'
1313
import DeleteKeyDialog from './components/dialogs/DeleteKeyDialog.vue'
14-
import { computed, onBeforeMount, onMounted, ref } from 'vue'
14+
import { computed, onBeforeMount, ref } from 'vue'
1515
import usePreferencesStore from './stores/preferences.js'
1616
import useConnectionStore from './stores/connections.js'
1717
import { useI18n } from 'vue-i18n'

0 commit comments

Comments
 (0)