You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The team ID is now required for notarization with app-specific password as authentication. Please set the `APPLE_TEAM_ID` environment variable. You can find the team ID in https://developer.apple.com/account#MembershipDetailsCard."
87
-
)]
86
+
"The team ID is now required for notarization with app-specific password as authentication. Please set the `APPLE_TEAM_ID` environment variable. You can find the team ID in https://developer.apple.com/account#MembershipDetailsCard."
Err(anyhow::anyhow!("could not find API key file. Please set the APPLE_API_KEY_PATH environment variables to the path to the {api_key_file_name:?} file").into())
Err(anyhow::anyhow!("could not find API key file. Please set the APPLE_API_KEY_PATH environment variables to the path to the {api_key_file_name:?} file").into())
Copy file name to clipboardExpand all lines: crates/tauri-cli/src/build.rs
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -167,8 +167,8 @@ pub fn setup(
167
167
168
168
if config_.identifier == "com.tauri.dev"{
169
169
anyhow::bail!(
170
-
"You must change the bundle identifier in `{bundle_identifier_source} identifier`. The default value `com.tauri.dev` is not allowed as it must be unique across applications.",
171
-
);
170
+
"You must change the bundle identifier in `{bundle_identifier_source} identifier`. The default value `com.tauri.dev` is not allowed as it must be unique across applications.",
"The bundle identifier \"{}\" set in `{} identifier`. The bundle identifier string must contain only alphanumeric characters (A-Z, a-z, and 0-9), hyphens (-), and periods (.).",
181
-
config_.identifier,
182
-
bundle_identifier_source
183
-
);
180
+
"The bundle identifier \"{}\" set in `{} identifier`. The bundle identifier string must contain only alphanumeric characters (A-Z, a-z, and 0-9), hyphens (-), and periods (.).",
181
+
config_.identifier,
182
+
bundle_identifier_source
183
+
);
184
184
}
185
185
186
186
if config_.identifier.ends_with(".app"){
187
187
log::warn!(
188
-
"The bundle identifier \"{}\" set in `{} identifier` ends with `.app`. This is not recommended because it conflicts with the application bundle extension on macOS.",
189
-
config_.identifier,
190
-
bundle_identifier_source
191
-
);
188
+
"The bundle identifier \"{}\" set in `{} identifier` ends with `.app`. This is not recommended because it conflicts with the application bundle extension on macOS.",
if web_asset_path.canonicalize()?.file_name() == Some(std::ffi::OsStr::new("src-tauri")){
211
211
returnErr(anyhow::anyhow!(
212
-
"The configured frontendDist is the `src-tauri` folder. Please isolate your web assets on a separate folder and update `tauri.conf.json > build > frontendDist`.",
213
-
));
212
+
"The configured frontendDist is the `src-tauri` folder. Please isolate your web assets on a separate folder and update `tauri.conf.json > build > frontendDist`.",
213
+
));
214
214
}
215
215
216
216
// Issue #13287 - Allow the use of target dir inside frontendDist/distDir
@@ -235,10 +235,10 @@ pub fn setup(
235
235
236
236
if !out_folders.is_empty(){
237
237
returnErr(anyhow::anyhow!(
238
-
"The configured frontendDist includes the `{:?}` {}. Please isolate your web assets on a separate folder and update `tauri.conf.json > build > frontendDist`.",
239
-
out_folders,
240
-
if out_folders.len() == 1{"folder"} else {"folders"}
241
-
));
238
+
"The configured frontendDist includes the `{:?}` {}. Please isolate your web assets on a separate folder and update `tauri.conf.json > build > frontendDist`.",
239
+
out_folders,
240
+
if out_folders.len() == 1{"folder"} else {"folders"}
0 commit comments