Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup and simplify examples #10743

Merged
merged 13 commits into from
Aug 26, 2024
Merged

chore: cleanup and simplify examples #10743

merged 13 commits into from
Aug 26, 2024

Conversation

amrbashir
Copy link
Member

@amrbashir amrbashir commented Aug 22, 2024

  • Updated .gitignore file
  • Simplified and cleanedup examples
  • Removed examples that serve almost zero value:
    • navigation
    • parent-window
    • web
    • workspace
    • plugins/tauri-plugin-sample: the plugin example in api example is enough

- Updated `.gitignore` file
- Simplified and cleanedup examples
- Removed examples that serve almost zero value:
  - `navigation`
  - `parent-window`
  - `web`
  - `workspace`
  - `run-iteration`
  - `plugins/tauri-plugin-sample`: the plugin example in `api` example is enough
@amrbashir amrbashir requested a review from a team as a code owner August 22, 2024 18:43
Copy link
Contributor

github-actions bot commented Aug 23, 2024

Package Changes Through f316e40

There are 7 changes which include tauri-cli with prerelease, @tauri-apps/cli with prerelease, tauri-codegen with prerelease, tauri with prerelease, tauri-bundler with prerelease, tauri-utils with prerelease, tauri-build with prerelease

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-utils 2.0.0-rc.6 2.0.0-rc.7
tauri-bundler 2.0.1-rc.5 2.0.1-rc.6
tauri-runtime 2.0.0-rc.6 2.0.0-rc.7
tauri-runtime-wry 2.0.0-rc.6 2.0.0-rc.7
tauri-codegen 2.0.0-rc.6 2.0.0-rc.7
tauri-macros 2.0.0-rc.5 2.0.0-rc.6
tauri-plugin 2.0.0-rc.6 2.0.0-rc.7
tauri-build 2.0.0-rc.6 2.0.0-rc.7
tauri 2.0.0-rc.6 2.0.0-rc.7
@tauri-apps/cli 2.0.0-rc.7 2.0.0-rc.8
tauri-cli 2.0.0-rc.7 2.0.0-rc.8

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Copy link

socket-security bot commented Aug 23, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] Transitive: environment, filesystem, network, shell +4 3.75 MB antfu, patak, soda, ...2 more

🚮 Removed packages: npm/@esbuild/[email protected]), npm/@esbuild/[email protected]), npm/@iarna/[email protected]), npm/@jridgewell/[email protected]), npm/@jridgewell/[email protected]), npm/@jridgewell/[email protected]), npm/@mapbox/[email protected]), npm/@polka/[email protected]), npm/@sveltejs/[email protected]), npm/@sveltejs/[email protected]), npm/@sveltejs/[email protected]), npm/@sveltejs/[email protected]), npm/@sveltejs/[email protected]), npm/@sveltejs/[email protected]), npm/@sveltejs/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@swc/[email protected]), npm/@tauri-apps/[email protected]), npm/@types/[email protected]), npm/@types/[email protected]), npm/@types/[email protected]), npm/@types/[email protected]), npm/@vercel/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected]), npm/[email protected])

View full report↗︎

@amrbashir
Copy link
Member Author

so linking the api example manifest using tauri-winres results in STATUS_ENTRYPOINT_NOT_FOUND but if directly embedding it using cargo:rustc-link-arg=/MANIFEST:EMBED has no issues. I hate windows

@lucasfernog
Copy link
Member

so linking the api example manifest using tauri-winres results in STATUS_ENTRYPOINT_NOT_FOUND but if directly embedding it using cargo:rustc-link-arg=/MANIFEST:EMBED has no issues. I hate windows

I guess the __TAURI_WORKSPACE__ workaround doesn't help us here right? since it's a binary that must have that one

@amrbashir
Copy link
Member Author

The __TAURI_WORKSPACE__ workaround also uses cargo:rustc-link-arg=/MANIFEST:EMBED and that's what works

@amrbashir
Copy link
Member Author

I will spend sometime to test and see what's the different and why this happens.

@amrbashir amrbashir merged commit ad83d41 into dev Aug 26, 2024
34 checks passed
@amrbashir amrbashir deleted the chore/cleanup-examples branch August 26, 2024 22:25
@honnip honnip mentioned this pull request Sep 3, 2024
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants