mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-09 18:01:35 -06:00
Merge latest upstream main and resolve GNOME Wayland control conflicts
This commit is contained in:
@@ -56,6 +56,7 @@ modules:
|
||||
- cargo --offline build --release --locked -p effectcraft -p effectcraft-cli
|
||||
- install -Dm755 target/release/effectcraft /app/bin/effectcraft
|
||||
- install -Dm644 NOTICE /app/share/doc/effectcraft/NOTICE
|
||||
- install -Dm644 NOTICE /app/share/doc/effectcraft/NOTICE
|
||||
- install -Dm755 target/release/effectcraft-cli /app/bin/effectcraft-cli
|
||||
- install -Dm644 packaging/linux/ai.storyteller.effectcraft.desktop /app/share/applications/ai.storyteller.effectcraft.desktop
|
||||
- install -Dm644 packaging/linux/ai.storyteller.effectcraft.mime.xml /app/share/mime/packages/ai.storyteller.effectcraft.xml
|
||||
|
||||
Regular → Executable
-1
@@ -125,7 +125,6 @@ if has appimage; then
|
||||
fi
|
||||
APPDIR="$WORK/EffectCraft.AppDir"
|
||||
cp -R "$STAGE" "$APPDIR"
|
||||
mv "$APPDIR/usr/share/doc" "$WORK/doc-unused"
|
||||
# Keep sctk-adwaita's MIT notice in the AppImage.
|
||||
install -Dm644 "$ROOT/NOTICE" "$APPDIR/usr/share/doc/effectcraft/NOTICE"
|
||||
ln -s usr/bin/effectcraft "$APPDIR/AppRun"
|
||||
|
||||
@@ -103,6 +103,8 @@ mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"
|
||||
# Executable and icon carry the display name (CFBundleExecutable / CFBundleIconFile).
|
||||
cp "$WORK/bin/effectcraft" "$APP/Contents/MacOS/EffectCraft"
|
||||
cp "$ROOT/assets/app-icon/effectcraft.icns" "$APP/Contents/Resources/EffectCraft.icns"
|
||||
# Required embedded-font notices are independent of optional font inputs.
|
||||
cp "$ROOT/NOTICE" "$APP/Contents/Resources/NOTICE"
|
||||
sed -e "s/@VERSION@/$VERSION/g" -e "s/@SHORT_VERSION@/$SHORT_VERSION/g" \
|
||||
-e "s/@BUILD_SHA@/${EFFECTCRAFT_BUILD_SHA:-unknown}/g" \
|
||||
"$HERE/Info.plist.in" >"$APP/Contents/Info.plist"
|
||||
|
||||
@@ -73,6 +73,9 @@
|
||||
|
||||
<Fragment>
|
||||
<ComponentGroup Id="EffectcraftFiles" Directory="INSTALLFOLDER">
|
||||
<Component Id="EffectcraftNotice">
|
||||
<File Id="EffectcraftNoticeFile" Source="$(var.BinDir)\NOTICE" KeyPath="yes" />
|
||||
</Component>
|
||||
<Component Id="EffectcraftApp" Guid="BA719860-95FE-4154-B265-47006B8E9083">
|
||||
<File Id="EffectcraftExe" Source="$(var.BinDir)\effectcraft.exe" KeyPath="yes">
|
||||
<Shortcut Id="StartMenuShortcut" Directory="ProgramMenuFolder" Name="EffectCraft"
|
||||
|
||||
@@ -90,6 +90,9 @@ Copy-Item (Join-Path $Bin 'effectcraft.exe'), (Join-Path $Bin 'effectcraft-cli.e
|
||||
|
||||
& (Join-Path $PSScriptRoot 'sign.ps1') (Join-Path $Stage 'effectcraft.exe') (Join-Path $Stage 'effectcraft-cli.exe')
|
||||
|
||||
# Required embedded-font notices ship independently of optional font inputs.
|
||||
Copy-Item -LiteralPath (Join-Path $Root 'NOTICE') -Destination $Stage
|
||||
|
||||
# ---- MSI ---------------------------------------------------------------------------------------
|
||||
$Msi = Join-Path $Dist "effectcraft-$Version-windows-$Arch.msi"
|
||||
Invoke-Native 'wix build' {
|
||||
@@ -106,7 +109,7 @@ $Portable = Join-Path $TargetDir "windows-package\effectcraft-$Version-windows-$
|
||||
Remove-Item -Recurse -Force $Portable -ErrorAction SilentlyContinue
|
||||
New-Item -ItemType Directory -Force -Path $Portable | Out-Null
|
||||
Copy-Item (Join-Path $Stage '*.exe') $Portable
|
||||
foreach ($f in 'README.md', 'LICENSE', 'LICENSE-MIT', 'LICENSE-APACHE') {
|
||||
foreach ($f in 'README.md', 'LICENSE', 'LICENSE-MIT', 'LICENSE-APACHE', 'NOTICE') {
|
||||
$p = Join-Path $Root $f
|
||||
if (Test-Path $p) { Copy-Item $p $Portable }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user