perf: lower ubuntu version to build deb, compress exe size in windows
This commit is contained in:
parent
e3ddd8447b
commit
fa9d1850c7
|
@ -7,7 +7,7 @@ on:
|
|||
jobs:
|
||||
release:
|
||||
name: Release Linux App
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
platform:
|
||||
|
|
|
@ -35,10 +35,10 @@ jobs:
|
|||
with:
|
||||
go-version: stable
|
||||
|
||||
- name: Install makensis
|
||||
- name: Install chocolatey
|
||||
uses: crazy-max/ghaction-chocolatey@v2
|
||||
with:
|
||||
args: install nsis jq
|
||||
args: install nsis jq upx
|
||||
|
||||
- name: Install wails
|
||||
shell: bash
|
||||
|
@ -59,7 +59,7 @@ jobs:
|
|||
|
||||
- name: Build Windows portable app
|
||||
shell: bash
|
||||
run: CGO_ENABLED=1 wails build -clean -platform ${{ matrix.platform }} -ldflags "-X main.version=${{ github.event.release.tag_name }}"
|
||||
run: CGO_ENABLED=1 wails build -clean -platform ${{ matrix.platform }} -upx -webview2 embed -ldflags "-X main.version=${{ github.event.release.tag_name }}"
|
||||
|
||||
- name: Compress portable binary
|
||||
working-directory: ./build/bin
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
|
||||
- name: Build Windows NSIS installer
|
||||
shell: bash
|
||||
run: CGO_ENABLED=1 wails build -clean -platform ${{ matrix.platform }} -nsis -ldflags "-X main.version=${{ github.event.release.tag_name }}"
|
||||
run: CGO_ENABLED=1 wails build -clean -platform ${{ matrix.platform }} -nsis -upx -webview2 embed -ldflags "-X main.version=${{ github.event.release.tag_name }}"
|
||||
|
||||
- name: Codesign Windows NSIS installer
|
||||
working-directory: ./build/bin
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
Package: {{.Name}}
|
||||
Version: {{.Info.ProductVersion}}
|
||||
Section: base
|
||||
Depends: libc6 (>= 2.34), libc6 (>= 2.32)
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: {{.Author.Name}} <{{.Author.Email}}>
|
||||
|
|
|
@ -11,7 +11,7 @@ import AddFieldsDialog from './components/dialogs/AddFieldsDialog.vue'
|
|||
import AppContent from './AppContent.vue'
|
||||
import GroupDialog from './components/dialogs/GroupDialog.vue'
|
||||
import DeleteKeyDialog from './components/dialogs/DeleteKeyDialog.vue'
|
||||
import { computed, onBeforeMount, onMounted, ref } from 'vue'
|
||||
import { computed, onBeforeMount, ref } from 'vue'
|
||||
import usePreferencesStore from './stores/preferences.js'
|
||||
import useConnectionStore from './stores/connections.js'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
|
Loading…
Reference in New Issue