Skip to content

Commit e777035

Browse files
committed
fix issue where stale gschema would be written before being compiled
1 parent f801099 commit e777035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build-windows-bundle.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ if [[ -d "$MINGW_PREFIX/share/glib-2.0/schemas" ]]; then
219219
cp -af "$MINGW_PREFIX/share/glib-2.0/schemas/." "$SCHEMA_DIR/"
220220
fi
221221

222-
if [[ ! -f "$SCHEMA_DIR/com.k0vcz.Artemis.gschema.xml" ]] && [[ -f "$ROOT_DIR/data/com.k0vcz.Artemis.gschema.xml" ]]; then
223-
echo "==> Restoring missing app schema into bundle"
222+
if [[ -f "$ROOT_DIR/data/com.k0vcz.Artemis.gschema.xml" ]]; then
223+
echo "==> Refreshing app schema in bundle"
224224
cp -f "$ROOT_DIR/data/com.k0vcz.Artemis.gschema.xml" "$SCHEMA_DIR/"
225225
fi
226226

0 commit comments

Comments
 (0)