Compare commits

...

3 Commits

Author SHA1 Message Date
Lykin f00a959db3 fix: the version tag was incorrectly written 2024-04-29 12:06:34 +08:00
Lykin aa98da31d6 revert: monaco editor may not open on macOS 11.x (#241) 2024-04-29 11:30:25 +08:00
Lykin 18ba04a5b1 perf: rename empty layer to `NO NAME` 2024-04-29 11:28:49 +08:00
5 changed files with 11 additions and 11 deletions

View File

@ -82,7 +82,7 @@ jobs:
shell: bash
run: |
CGO_ENABLED=1 wails build -platform ${{ matrix.platform }} \
-ldflags "-X main.version=${{ github.event.release.tag_name }} -X main.gaMeasurementID=${{ secrets.GA_MEASUREMENT_ID }} -X main.gaSecretKey=${{ secrets.MAC_GA_SECRET }}"
-ldflags "-X main.version=${{ steps.normalise_version.outputs.version }} -X main.gaMeasurementID=${{ secrets.GA_MEASUREMENT_ID }} -X main.gaSecretKey=${{ secrets.MAC_GA_SECRET }}"
# - name: Notarise macOS app + create dmg
# shell: bash

View File

@ -11,7 +11,7 @@
"chart.js": "^4.4.2",
"dayjs": "^1.11.10",
"lodash": "^4.17.21",
"monaco-editor": "^0.48.0",
"monaco-editor": "^0.47.0",
"pinia": "^2.1.7",
"sass": "^1.75.0",
"vue": "^3.4.25",
@ -1608,9 +1608,9 @@
}
},
"node_modules/monaco-editor": {
"version": "0.48.0",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.48.0.tgz",
"integrity": "sha512-goSDElNqFfw7iDHMg8WDATkfcyeLTNpBHQpO8incK6p5qZt5G/1j41X0xdGzpIkGojGXM+QiRQyLjnfDVvrpwA=="
"version": "0.47.0",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.47.0.tgz",
"integrity": "sha512-VabVvHvQ9QmMwXu4du008ZDuyLnHs9j7ThVFsiJoXSOQk18+LF89N4ADzPbFenm0W4V2bGHnFBztIRQTgBfxzw=="
},
"node_modules/ms": {
"version": "2.1.2",
@ -3537,9 +3537,9 @@
}
},
"monaco-editor": {
"version": "0.48.0",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.48.0.tgz",
"integrity": "sha512-goSDElNqFfw7iDHMg8WDATkfcyeLTNpBHQpO8incK6p5qZt5G/1j41X0xdGzpIkGojGXM+QiRQyLjnfDVvrpwA=="
"version": "0.47.0",
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.47.0.tgz",
"integrity": "sha512-VabVvHvQ9QmMwXu4du008ZDuyLnHs9j7ThVFsiJoXSOQk18+LF89N4ADzPbFenm0W4V2bGHnFBztIRQTgBfxzw=="
},
"ms": {
"version": "2.1.2",

View File

@ -12,7 +12,7 @@
"chart.js": "^4.4.2",
"dayjs": "^1.11.10",
"lodash": "^4.17.21",
"monaco-editor": "^0.48.0",
"monaco-editor": "^0.47.0",
"pinia": "^2.1.7",
"sass": "^1.75.0",
"vue": "^3.4.25",

View File

@ -1 +1 @@
015d99ba38ab1210c611b0adecf20175
10008d9a0e71cb9e35bf046c83297d37

View File

@ -356,7 +356,7 @@ const renderLabel = ({ option }) => {
if (option.label === '') {
// blank label name
return h('div', [
h(NText, { italic: true, depth: 3 }, () => '[Empty]'),
h(NText, { italic: true, depth: 3 }, () => '[NO NAME]'),
h('span', () => ` (${option.keyCount || 0})`),
])
}