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:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Release Linux App
|
name: Release Linux App
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
|
|
|
@ -35,10 +35,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: stable
|
go-version: stable
|
||||||
|
|
||||||
- name: Install makensis
|
- name: Install chocolatey
|
||||||
uses: crazy-max/ghaction-chocolatey@v2
|
uses: crazy-max/ghaction-chocolatey@v2
|
||||||
with:
|
with:
|
||||||
args: install nsis jq
|
args: install nsis jq upx
|
||||||
|
|
||||||
- name: Install wails
|
- name: Install wails
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build Windows portable app
|
- name: Build Windows portable app
|
||||||
shell: bash
|
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
|
- name: Compress portable binary
|
||||||
working-directory: ./build/bin
|
working-directory: ./build/bin
|
||||||
|
@ -76,7 +76,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build Windows NSIS installer
|
- name: Build Windows NSIS installer
|
||||||
shell: bash
|
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
|
- name: Codesign Windows NSIS installer
|
||||||
working-directory: ./build/bin
|
working-directory: ./build/bin
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
Package: {{.Name}}
|
Package: {{.Name}}
|
||||||
Version: {{.Info.ProductVersion}}
|
Version: {{.Info.ProductVersion}}
|
||||||
Section: base
|
Section: base
|
||||||
Depends: libc6 (>= 2.34), libc6 (>= 2.32)
|
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Maintainer: {{.Author.Name}} <{{.Author.Email}}>
|
Maintainer: {{.Author.Name}} <{{.Author.Email}}>
|
||||||
|
|
|
@ -11,7 +11,7 @@ import AddFieldsDialog from './components/dialogs/AddFieldsDialog.vue'
|
||||||
import AppContent from './AppContent.vue'
|
import AppContent from './AppContent.vue'
|
||||||
import GroupDialog from './components/dialogs/GroupDialog.vue'
|
import GroupDialog from './components/dialogs/GroupDialog.vue'
|
||||||
import DeleteKeyDialog from './components/dialogs/DeleteKeyDialog.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 usePreferencesStore from './stores/preferences.js'
|
||||||
import useConnectionStore from './stores/connections.js'
|
import useConnectionStore from './stores/connections.js'
|
||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from 'vue-i18n'
|
||||||
|
|
Loading…
Reference in New Issue