Skip to content

Commit

Permalink
build: remove file drop and metrics hidden windows in desktop test ru…
Browse files Browse the repository at this point in the history
…nner
  • Loading branch information
abose committed Jun 21, 2024
1 parent 848e7e4 commit a8bd1de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-build/createDistTestReleaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ async function createDistTestReleaseConfig() {
const phoenixVersion = configJson.package.version;
if(os.platform() === 'win32'){
configJson.tauri.windows[0].url = `https://phtauri.localhost/v${phoenixVersion}/`;
// for test windows, desktop-metrics.html isn't needed
} else {
configJson.tauri.windows[0].url = `phtauri://localhost/v${phoenixVersion}/`;
// for test windows, desktop-metrics.html isn't needed
}
// for tests we only need the main window. other windows seems to be breaking tests in github actions.
configJson.tauri.windows = [configJson.tauri.windows[0]];
if(os.platform() === 'darwin'){
// inject macos icons
configJson.tauri.bundle.icon = [
Expand Down

0 comments on commit a8bd1de

Please sign in to comment.