Skip to content

Commit 230af58

Browse files
Fix macOS build script paths (#19)
1 parent b58e42c commit 230af58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build-scripts/build.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ def build_macos_ime(
189189
input_method_app / "Contents/MacOS/fig_input_method",
190190
)
191191
shutil.copy2(
192-
"fig_input_method/Info.plist",
192+
"crates/fig_input_method/Info.plist",
193193
input_method_app / "Contents/Info.plist",
194194
)
195195
shutil.copytree(
196-
"fig_input_method/resources",
196+
"crates/fig_input_method/resources",
197197
input_method_app / "Contents/Resources",
198198
dirs_exist_ok=True,
199199
)
@@ -237,11 +237,11 @@ def build_macos_desktop_app(
237237
ime_app = build_macos_ime(release=release, signing_data=signing_data, targets=targets, is_prod=is_prod)
238238

239239
info("Writing manifest")
240-
manifest_path = pathlib.Path(DESKTOP_PACKAGE_NAME) / "manifest.json"
240+
manifest_path = pathlib.Path(DESKTOP_PACKAGE_PATH) / "manifest.json"
241241
manifest_path.write_text(gen_manifest())
242242

243243
info("Building tauri config")
244-
tauri_config_path = pathlib.Path(DESKTOP_PACKAGE_NAME) / "build-config.json"
244+
tauri_config_path = pathlib.Path(DESKTOP_PACKAGE_PATH) / "build-config.json"
245245
tauri_config_path.write_text(macos_tauri_config(cli_path=cli_path, pty_path=pty_path, target=target))
246246

247247
info("Building", DESKTOP_PACKAGE_NAME)

0 commit comments

Comments
 (0)