Comments (12)
I faced the problem too, resolved by changing below item to the customized name in Cargo.toml
:
- package.name
- package.default-run
- bin.name
from tauri.
We should have this under our docs. Gonna arrange it with @Laegel
from tauri.
remove or update the default-run
field in cargo.toml (it must match the name, or not exist at all)
from tauri.
Can you try to change the output name under [[bin]]? This issue is known, but I think the problem is when you try to use the updater, not the bundler.
from tauri.
can confirm that your suggestion works.
from tauri.
I guess this is not a bug - but something we will have to track in the docs. Leaving open and will close it once the docs page is written about the src-tauri/Cargo.toml
caveats
from tauri.
This has been resolved. Proved by guijs.
from tauri.
Good point. This should (IMHO) be done from tauri.conf.json
- even if it modifies the Cargo.toml
from tauri.
Can we close this one since the app name is now prompted by tauri init
?
from tauri.
Not only is the app name prompted for, but changing the name worked fine for me as long as default-run
and bin.name
are the same.
from tauri.
Leaving a comment cos I'm facing this same challenge:
ran into the error: Caused by: default-run target
app not found
had to change the name in Cargo.toml
to "app" back to resolve the issue.
How can I use my desired name to fix the issue?
from tauri.
remove or update the
default-run
field in cargo.toml (it must match the name, or not exist at all)
@FabianLars thank you, resolved.
from tauri.
Related Issues (20)
- [feat] Add option to control compression mode and level for Linux bundles
- [feat] Integrate skia for UI processing on mobile/desktop apps in tauri 2.0 HOT 3
- [bug] Unhandled Promise Rejection: Scope not defined for URL HOT 2
- [bug] Tauri 2: iOS app's bundle identifier does not use tauri.conf.json HOT 5
- [bug] IOS Asset Validation error, missing storyboard? HOT 3
- [feat] Integrated browser engine configurable HOT 2
- [bug] app_data_dir directory is not created HOT 1
- [bug] Failed to set the http scope of plugins HOT 5
- [bug] There are problems with LogicalPosition and PhysicalPosition in v2 HOT 1
- [bug] pnpm/cargo tauri ios dev -> xcodebuild error: no destination and action build HOT 3
- #Please help me Nextjs fans, been getting this error in production but runs smoothly in development
- [bug] Unable to load custom URI scheme HOT 3
- [feat] an option to not create a start menu folder for nsis installer HOT 5
- [bug] There is an issue with the window dragging size in the v2 version. HOT 1
- [bug] thread 'main' has overflowed its stack (Windows 11 Tauri v2 beta) HOT 4
- [feat] Is it possible to add a window rounded corner configuration option to the tuari:windows configuration of the tuari.conf.json file? HOT 1
- [feat] Avoid calling `convertFileSrc` twice.
- [bug] FileDialogBuilder accepts non-existing files
- [bug] Building for Windows Fails as System User (e.g., on AWS EC2) HOT 1
- [bug] Build of default (Angular) template fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tauri.