diff --git a/.github/workflows/axolotl-release.yml b/.github/workflows/axolotl-release.yml index 97e44d4..3709c38 100644 --- a/.github/workflows/axolotl-release.yml +++ b/.github/workflows/axolotl-release.yml @@ -198,7 +198,7 @@ jobs: shell: pwsh run: | $version = "${{ github.ref_name }}" -replace '^v', '' - $appName = "Axolotl Launcher" + $appName = (Get-Content apps/app/tauri.conf.json -Raw | ConvertFrom-Json).mainBinaryName $outDir = "target/release/bundle/nsis" $buildDir = "target/portable-build" $publishDir = Join-Path $env:RUNNER_TEMP "windows-assets" @@ -249,6 +249,15 @@ jobs: New-Item -ItemType Directory -Force -Path "$buildDir\Axolotl" | Out-Null Copy-Item -Force $appExe "$buildDir\Axolotl\" + $editorResources = "target/release/resources/blockbench-skin" + foreach ($requiredFile in @('index.html', 'css/setup.css', 'dist/skin.bundle.js.gz')) { + if (!(Test-Path -LiteralPath (Join-Path $editorResources $requiredFile) -PathType Leaf)) { + throw "Missing skin editor resource: $requiredFile" + } + } + New-Item -ItemType Directory -Force -Path "$buildDir\Axolotl\resources" | Out-Null + Copy-Item -LiteralPath $editorResources -Destination "$buildDir\Axolotl\resources" -Recurse -Force + # Create empty .Axolotl folder to trigger portable mode New-Item -ItemType Directory -Force -Path "$buildDir\Axolotl\.Axolotl" | Out-Null diff --git a/apps/app-frontend/src/components/ui/settings/DefaultInstanceSettings.vue b/apps/app-frontend/src/components/ui/settings/DefaultInstanceSettings.vue index 3baebd7..fc73d9c 100644 --- a/apps/app-frontend/src/components/ui/settings/DefaultInstanceSettings.vue +++ b/apps/app-frontend/src/components/ui/settings/DefaultInstanceSettings.vue @@ -12,6 +12,15 @@ import SettingsSection from './SettingsSection.vue' const { formatMessage } = useVIntl() const messages = defineMessages({ + forceUnicodeFont: { + id: 'app.settings.defaults.force-unicode-font', + defaultMessage: 'Force Unicode font', + }, + forceUnicodeFontDescription: { + id: 'app.settings.defaults.force-unicode-font-description', + defaultMessage: + 'Use the Unicode font when initializing a new instance. Off by default; existing font settings are preserved.', + }, fullscreen: { id: 'app.settings.defaults.fullscreen', defaultMessage: 'Fullscreen' }, fullscreenDescription: { id: 'app.settings.defaults.fullscreen-description', @@ -205,6 +214,24 @@ watch( + + + + + + + +