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

[bug] Tauri's JS scripts are not minified in the exe #12574

Open
FabianLars opened this issue Jan 30, 2025 · 1 comment
Open

[bug] Tauri's JS scripts are not minified in the exe #12574

FabianLars opened this issue Jan 30, 2025 · 1 comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@FabianLars
Copy link
Member

FabianLars commented Jan 30, 2025

Describe the bug

Even with those https://github.com/FabianLars/mw-toolbox/blob/main/Cargo.toml#L15-L20 optimiziations there's still too much garbage in the exe (checked via strings app.exe). I can spot many of our scripts in there, for example this one https://github.com/tauri-apps/tauri/blob/bfc71e845b3b0f9db44e6773c05d972e6f1772be/crates/tauri/src/window/scripts/drag.js with all the comments etc.

It's not the end of the world but considering we consider file size such an important topic this is still weird.

Another concerning looking part (in the context of bloat, not security) is this one

Default core plugins set which includes:
- 'core:path:default'
- 'core:event:default'
- 'core:window:default'
- 'core:webview:default'
- 'core:app:default'
- 'core:image:default'
- 'core:resources:default'
- 'core:menu:default'
- 'core:tray:default'
core:path:defaultcore:event:defaultcore:window:defaultcore:webview:defaultcore:app:defaultcore:image:defaultcore:resources:defaultcore:menu:defaultcore:tray:defaultDefault permissions for the plugin.allow-tauri-versionEnables the app_hide command without any pre-configured scope.Enables the app_show command without any pre-configured scope.allow-default-window-iconEnables the default_window_icon command without any pre-configured scope.Enables the name command without any pre-configured scope.allow-set-app-themeEnables the set_app_theme command without any pre-configured scope.Enables the tauri_version command without any pre-configured scope.Enables the version command without any pre-configured scope.Denies the app_hide command without any pre-configured scope.Denies the app_show command without any pre-configured scope.deny-default-window-iconDenies the default_window_icon command without any pre-configured scope.Denies the name command without any pre-configured scope.deny-set-app-themeDenies the set_app_theme command without any pre-configured scope.deny-tauri-versionDenies the tauri_version command without any pre-configured scope.Denies the version command without any pre-configured scope.Enables the emit command without any pre-configured scope.Enables the emit_to command without any pre-configured scope.Enables the listen command without any pre-configured scope.Enables the unlisten command without any pre-configured scope.Denies the emit command without any pre-configured scope.Denies the emit_to command without any pre-configured scope.Denies the listen command without any pre-configured scope.Denies the unlisten command without any pre-configured scope.allow-from-bytesEnables the from_bytes command without any pre-configured scope.Enables the from_path command without any pre-configured scope.Enables the new command without any pre-configured scope.Enables the rgba command without any pre-configured scope.Enables the size command without any pre-configured scope.Denies the from_bytes command without any pre-configured scope.Denies the from_path command without any pre-configured scope.Denies the new command without any pre-configured scope.Denies the rgba command without any pre-configured scope.Denies the size command without any pre-configured scope.allow-create-defaultallow-set-as-app-menuallow-set-as-window-menuallow-is-enabledallow-set-enabledallow-set-acceleratorallow-set-as-windows-menu-for-nsappallow-set-as-help-menu-for-nsappallow-is-checkedallow-set-checkedEnables the append command without any pre-configured scope.Enables the create_default command without any pre-configured scope.Enables the get command without any pre-configured scope.Enables the insert command without any pre-configured scope.Enables the is_checked command without any pre-configured scope.Enables the is_enabled command without any pre-configured scope.Enables the items command without any pre-configured scope.Enables the popup command without any pre-configured scope.Enables the prepend command without any pre-configured scope.Enables the remove command without any pre-configured scope.Enables the remove_at command without any pre-configured scope.Enables the set_accelerator command without any pre-configured scope.Enables the set_as_app_menu command without any pre-configured scope.Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.Enables the set_as_window_menu command without any pre-configured scope.Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.Enables the set_checked command without any pre-configured scope.Enables the set_enabled command without any pre-configured scope.Enables the set_icon command without any pre-configured scope.Enables the set_text command without any pre-configured scope.Enables the text command without any pre-configured scope.Denies the append command without any pre-configured scope.deny-create-defaultDenies the create_default command without any pre-configured scope.Denies the get command without any pre-configured scope.Denies the insert command without any pre-configured scope.Denies the is_checked command without any pre-configured scope.Denies the is_enabled command without any pre-configured scope.Denies the items command without any pre-configured scope.Denies the popup command without any pre-configured scope.Denies the prepend command without any pre-configured scope.Denies the remove command without any pre-configured scope.Denies the remove_at command without any pre-configured scope.deny-set-acceleratorDenies the set_accelerator command without any pre-configured scope.deny-set-as-app-menuDenies the set_as_app_menu command without any pre-configured scope.deny-set-as-help-menu-for-nsappDenies the set_as_help_menu_for_nsapp command without any pre-configured scope.deny-set-as-window-menuDenies the set_as_window_menu command without any pre-configured scope.deny-set-as-windows-menu-for-nsappDenies the set_as_windows_menu_for_nsapp command without any pre-configured scope.deny-set-checkedDenies the set_checked command without any pre-configured scope.deny-set-enabledDenies the set_enabled command without any pre-configured scope.Denies the set_icon command without any pre-configured scope.Denies the set_text command without any pre-configured scope.Denies the text command without any pre-configured scope.allow-resolve-directoryallow-is-absoluteEnables the basename command without any pre-configured scope.Enables the dirname command without any pre-configured scope.Enables the extname command without any pre-configured scope.Enables the is_absolute command without any pre-configured scope.Enables the join command without any pre-configured scope.Enables the normalize command without any pre-configured scope.Enables the resolve command without any pre-configured scope.Enables the resolve_directory command without any pre-configured scope.Denies the basename command without any pre-configured scope.Denies the dirname command without any pre-configured scope.Denies the extname command without any pre-configured scope.deny-is-absoluteDenies the is_absolute command without any pre-configured scope.Denies the join command without any pre-configured scope.Denies the normalize command without any pre-configured scope.Denies the resolve command without any pre-configured scope.deny-resolve-directoryDenies the resolve_directory command without any pre-configured scope.Enables the close command without any pre-configured scope.Denies the close command without any pre-configured scope.allow-remove-by-idallow-set-tooltipallow-set-visibleallow-set-temp-dir-pathallow-set-icon-as-templateallow-set-show-menu-on-left-clickEnables the get_by_id command without any pre-configured scope.Enables the remove_by_id command without any pre-configured scope.Enables the set_icon_as_template command without any pre-configured scope.set_icon_as_templateEnables the set_menu command without any pre-configured scope.Enables the set_show_menu_on_left_click command without any pre-configured scope.set_show_menu_on_left_clickEnables the set_temp_dir_path command without any pre-configured scope.set_temp_dir_pathEnables the set_title command without any pre-configured scope.Enables the set_tooltip command without any pre-configured scope.Enables the set_visible command without any pre-configured scope.Denies the get_by_id command without any pre-configured scope.deny-remove-by-idDenies the remove_by_id command without any pre-configured scope.deny-set-icon-as-templateDenies the set_icon_as_template command without any pre-configured scope.Denies the set_menu command without any pre-configured scope.deny-set-show-menu-on-left-clickDenies the set_show_menu_on_left_click command without any pre-configured scope.deny-set-temp-dir-pathDenies the set_temp_dir_path command without any pre-configured scope.Denies the set_title command without any pre-configured scope.deny-set-tooltipDenies the set_tooltip command without any pre-configured scope.deny-set-visibleDenies the set_visible command without any pre-configured scope.allow-get-all-webviewsallow-webview-positionallow-webview-sizeallow-internal-toggle-devtoolsallow-clear-all-browsing-dataEnables the clear_all_browsing_data command without any pre-configured scope.allow-create-webviewEnables the create_webview command without any pre-configured scope.allow-create-webview-windowEnables the create_webview_window command without any pre-configured scope.Enables the get_all_webviews command without any pre-configured scope.Enables the internal_toggle_devtools command without any pre-configured scope.internal_toggle_devtoolsEnables the print command without any pre-configured scope.Enables the reparent command without any pre-configured scope.allow-set-webview-background-colorEnables the set_webview_background_color command without any pre-configured scope.allow-set-webview-focusEnables the set_webview_focus command without any pre-configured scope.allow-set-webview-positionEnables the set_webview_position command without any pre-configured scope.allow-set-webview-sizeEnables the set_webview_size command without any pre-configured scope.allow-set-webview-zoomEnables the set_webview_zoom command without any pre-configured scope.allow-webview-closeEnables the webview_close command without any pre-configured scope.allow-webview-hideEnables the webview_hide command without any pre-configured scope.Enables the webview_position command without any pre-configured scope.allow-webview-showEnables the webview_show command without any pre-configured scope.Enables the webview_size command without any pre-configured scope.deny-clear-all-browsing-dataDenies the clear_all_browsing_data command without any pre-configured scope.deny-create-webviewDenies the create_webview command without any pre-configured scope.deny-create-webview-windowDenies the create_webview_window command without any pre-configured scope.deny-get-all-webviewsDenies the get_all_webviews command without any pre-configured scope.deny-internal-toggle-devtoolsDenies the internal_toggle_devtools command without any pre-configured scope.Denies the print command without any pre-configured scope.Denies the reparent command without any pre-configured scope.deny-set-webview-background-colorDenies the set_webview_background_color command without any pre-configured scope.deny-set-webview-focusDenies the set_webview_focus command without any pre-configured scope.deny-set-webview-positionDenies the set_webview_position command without any pre-configured scope.deny-set-webview-sizeDenies the set_webview_size command without any pre-configured scope.deny-set-webview-zoomDenies the set_webview_zoom command without any pre-configured scope.deny-webview-closeDenies the webview_close command without any pre-configured scope.deny-webview-hideDenies the webview_hide command without any pre-configured scope.deny-webview-positionDenies the webview_position command without any pre-configured scope.deny-webview-showDenies the webview_show command without any pre-configured scope.deny-webview-sizeDenies the webview_size command without any pre-configured scope.allow-get-all-windowsallow-scale-factorallow-inner-positionallow-outer-positionallow-inner-sizeallow-outer-sizeallow-is-fullscreenallow-is-minimizedallow-is-maximizedallow-is-focusedallow-is-decoratedallow-is-resizableallow-is-maximizableallow-is-minimizableallow-is-closableallow-is-visibleallow-current-monitorallow-primary-monitorallow-monitor-from-pointallow-available-monitorsallow-cursor-positionallow-internal-toggle-maximizeEnables the available_monitors command without any pre-configured scope.Enables the center command without any pre-configured scope.Enables the create command without any pre-configured scope.Enables the current_monitor command without any pre-configured scope.Enables the cursor_position command without any pre-configured scope.Enables the destroy command without any pre-configured scope.Enables the get_all_windows command without any pre-configured scope.Enables the hide command without any pre-configured scope.Enables the inner_position command without any pre-configured scope.Enables the inner_size command without any pre-configured scope.Enables the internal_toggle_maximize command without any pre-configured scope.Enables the is_closable command without any pre-configured scope.Enables the is_decorated command without any pre-configured scope.Enables the is_focused command without any pre-configured scope.Enables the is_fullscreen command without any pre-configured scope.Enables the is_maximizable command without any pre-configured scope.Enables the is_maximized command without any pre-configured scope.Enables the is_minimizable command without any pre-configured scope.Enables the is_minimized command without any pre-configured scope.Enables the is_resizable command without any pre-configured scope.Enables the is_visible command without any pre-configured scope.Enables the maximize command without any pre-configured scope.Enables the minimize command without any pre-configured scope.Enables the monitor_from_point command without any pre-configured scope.Enables the outer_position command without any pre-configured scope.Enables the outer_size command without any pre-configured scope.Enables the primary_monitor command without any pre-configured scope.allow-request-user-attentionEnables the request_user_attention command without any pre-configured scope.Enables the scale_factor command without any pre-configured scope.allow-set-always-on-bottomEnables the set_always_on_bottom command without any pre-configured scope.allow-set-always-on-topEnables the set_always_on_top command without any pre-configured scope.allow-set-background-colorEnables the set_background_color command without any pre-configured scope.allow-set-badge-countEnables the set_badge_count command without any pre-configured scope.allow-set-badge-labelEnables the set_badge_label command without any pre-configured scope.allow-set-closableEnables the set_closable command without any pre-configured scope.allow-set-content-protectedEnables the set_content_protected command without any pre-configured scope.allow-set-cursor-grabEnables the set_cursor_grab command without any pre-configured scope.allow-set-cursor-iconEnables the set_cursor_icon command without any pre-configured scope.allow-set-cursor-positionEnables the set_cursor_position command without any pre-configured scope.allow-set-cursor-visibleEnables the set_cursor_visible command without any pre-configured scope.allow-set-decorationsEnables the set_decorations command without any pre-configured scope.allow-set-effectsEnables the set_effects command without any pre-configured scope.Enables the set_focus command without any pre-configured scope.allow-set-fullscreenEnables the set_fullscreen command without any pre-configured scope.allow-set-ignore-cursor-eventsEnables the set_ignore_cursor_events command without any pre-configured scope.allow-set-max-sizeEnables the set_max_size command without any pre-configured scope.allow-set-maximizableEnables the set_maximizable command without any pre-configured scope.allow-set-min-sizeEnables the set_min_size command without any pre-configured scope.allow-set-minimizableEnables the set_minimizable command without any pre-configured scope.allow-set-overlay-iconEnables the set_overlay_icon command without any pre-configured scope.allow-set-positionEnables the set_position command without any pre-configured scope.allow-set-progress-barEnables the set_progress_bar command without any pre-configured scope.allow-set-resizableEnables the set_resizable command without any pre-configured scope.allow-set-shadowEnables the set_shadow command without any pre-configured scope.Enables the set_size command without any pre-configured scope.allow-set-size-constraintsEnables the set_size_constraints command without any pre-configured scope.allow-set-skip-taskbarEnables the set_skip_taskbar command without any pre-configured scope.Enables the set_theme command without any pre-configured scope.allow-set-title-bar-styleEnables the set_title_bar_style command without any pre-configured scope.allow-set-visible-on-all-workspacesEnables the set_visible_on_all_workspaces command without any pre-configured scope.Enables the show command without any pre-configured scope.allow-start-draggingEnables the start_dragging command without any pre-configured scope.allow-start-resize-draggingEnables the start_resize_dragging command without any pre-configured scope.Enables the theme command without any pre-configured scope.Enables the title command without any pre-configured scope.allow-toggle-maximizeEnables the toggle_maximize command without any pre-configured scope.allow-unmaximizeEnables the unmaximize command without any pre-configured scope.allow-unminimizeEnables the unminimize command without any pre-configured scope.deny-available-monitorsDenies the available_monitors command without any pre-configured scope.Denies the center command without any pre-configured scope.Denies the create command without any pre-configured scope.deny-current-monitorDenies the current_monitor command without any pre-configured scope.deny-cursor-positionDenies the cursor_position command without any pre-configured scope.Denies the destroy command without any pre-configured scope.deny-get-all-windowsDenies the get_all_windows command without any pre-configured scope.Denies the hide command without any pre-configured scope.deny-inner-positionDenies the inner_position command without any pre-configured scope.Denies the inner_size command without any pre-configured scope.deny-internal-toggle-maximizeDenies the internal_toggle_maximize command without any pre-configured scope.deny-is-closableDenies the is_closable command without any pre-configured scope.deny-is-decoratedDenies the is_decorated command without any pre-configured scope.Denies the is_focused command without any pre-configured scope.deny-is-fullscreenDenies the is_fullscreen command without any pre-configured scope.deny-is-maximizableDenies the is_maximizable command without any pre-configured scope.deny-is-maximizedDenies the is_maximized command without any pre-configured scope.deny-is-minimizableDenies the is_minimizable command without any pre-configured scope.deny-is-minimizedDenies the is_minimized command without any pre-configured scope.deny-is-resizableDenies the is_resizable command without any pre-configured scope.Denies the is_visible command without any pre-configured scope.Denies the maximize command without any pre-configured scope.Denies the minimize command without any pre-configured scope.deny-monitor-from-pointDenies the monitor_from_point command without any pre-configured scope.deny-outer-positionDenies the outer_position command without any pre-configured scope.Denies the outer_size command without any pre-configured scope.deny-primary-monitorDenies the primary_monitor command without any pre-configured scope.deny-request-user-attentionDenies the request_user_attention command without any pre-configured scope.deny-scale-factorDenies the scale_factor command without any pre-configured scope.deny-set-always-on-bottomDenies the set_always_on_bottom command without any pre-configured scope.deny-set-always-on-topDenies the set_always_on_top command without any pre-configured scope.deny-set-background-colorDenies the set_background_color command without any pre-configured scope.deny-set-badge-countDenies the set_badge_count command without any pre-configured scope.deny-set-badge-labelDenies the set_badge_label command without any pre-configured scope.deny-set-closableDenies the set_closable command without any pre-configured scope.deny-set-content-protectedDenies the set_content_protected command without any pre-configured scope.deny-set-cursor-grabDenies the set_cursor_grab command without any pre-configured scope.deny-set-cursor-iconDenies the set_cursor_icon command without any pre-configured scope.deny-set-cursor-positionDenies the set_cursor_position command without any pre-configured scope.deny-set-cursor-visibleDenies the set_cursor_visible command without any pre-configured scope.deny-set-decorationsDenies the set_decorations command without any pre-configured scope.deny-set-effectsDenies the set_effects command without any pre-configured scope.Denies the set_focus command without any pre-configured scope.deny-set-fullscreenDenies the set_fullscreen command without any pre-configured scope.deny-set-ignore-cursor-eventsDenies the set_ignore_cursor_events command without any pre-configured scope.deny-set-max-sizeDenies the set_max_size command without any pre-configured scope.deny-set-maximizableDenies the set_maximizable command without any pre-configured scope.deny-set-min-sizeDenies the set_min_size command without any pre-configured scope.deny-set-minimizableDenies the set_minimizable command without any pre-configured scope.deny-set-overlay-iconDenies the set_overlay_icon command without any pre-configured scope.deny-set-positionDenies the set_position command without any pre-configured scope.deny-set-progress-barDenies the set_progress_bar command without any pre-configured scope.deny-set-resizableDenies the set_resizable command without any pre-configured scope.Denies the set_shadow command without any pre-configured scope.Denies the set_size command without any pre-configured scope.deny-set-size-constraintsDenies the set_size_constraints command without any pre-configured scope.deny-set-skip-taskbarDenies the set_skip_taskbar command without any pre-configured scope.Denies the set_theme command without any pre-configured scope.deny-set-title-bar-styleDenies the set_title_bar_style command without any pre-configured scope.deny-set-visible-on-all-workspacesDenies the set_visible_on_all_workspaces command without any pre-configured scope.Denies the show command without any pre-configured scope.deny-start-draggingDenies the start_dragging command without any pre-configured scope.deny-start-resize-draggingDenies the start_resize_dragging command without any pre-configured scope.Denies the theme command without any pre-configured scope.Denies the title command without any pre-configured scope.deny-toggle-maximizeDenies the toggle_maximize command without any pre-configured scope.Denies the unmaximize command without any pre-configured scope.Denies the unminimize command without any pre-configured scope.This permission set allows opening `mailto:`, `tel:`, `https://` and `http://` urls using their default application
as well as reveal file in directories using default file explorerallow-reveal-item-in-dirallow-default-urlsThis enables opening `mailto:`, `tel:`, `https://` and `http://` urls using their default application.Enables the open_path command without any pre-configured scope.Enables the open_url command without any pre-configured scope.Enables the reveal_item_in_dir command without any pre-configured scope.Denies the open_path command without any pre-configured scope.Denies the open_url command without any pre-configured scope.deny-reveal-item-in-dirDenies the reveal_item_in_dir command without any pre-configured scope.http://json-schema.org/draft-07/schema##/definitions/ApplicationdescriptionAn application to open this url with, for example: firefox.A URL that can be opened by the webview when using the Opener APIs.
Wildcards can be used following the UNIX glob pattern.
Examples:
- "https://*" : allows all HTTPS origin
- "https://*.github.com/tauri-apps/tauri": allows any subdomain of "github.com" with the "tauri-apps/api" path
- "https://myapi.service.com/users/*": allows access to any URLs that begins with "https://myapi.service.com/users/"An application to open this path with, for example: xdg-open.A path that can be opened by the webview when using the Opener APIs.
The pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.Open in default application.If true, allow open with any application.Allow specific application to open with.Opener scope application.Opener scope entry.OpenerScopeEntryplugin:app|tauri_versionplugin:app|versionplugin:event|emitplugin:event|emit_toplugin:event|listenplugin:event|unlistenplugin:image|from_bytesplugin:image|from_pathplugin:image|newplugin:image|rgbaplugin:image|sizeplugin:menu|appendplugin:menu|create_defaultplugin:menu|insertplugin:menu|is_checkedplugin:menu|is_enabledplugin:menu|itemsplugin:menu|popupplugin:menu|prependplugin:menu|removeplugin:menu|remove_atplugin:menu|set_acceleratorplugin:menu|set_as_app_menuplugin:menu|set_as_help_menu_for_nsappplugin:menu|set_as_window_menuplugin:menu|set_as_windows_menu_for_nsappplugin:menu|set_checkedplugin:menu|set_enabledplugin:menu|set_iconplugin:menu|set_textplugin:menu|textplugin:opener|open_urlplugin:opener|reveal_item_in_dirplugin:path|basenameplugin:path|dirnameplugin:path|extnameplugin:path|is_absoluteplugin:path|joinplugin:path|normalizeplugin:path|resolveplugin:path|resolve_directoryplugin:resources|closeplugin:tray|get_by_idplugin:tray|remove_by_idplugin:tray|set_iconplugin:tray|set_icon_as_templateplugin:tray|set_menuplugin:tray|set_show_menu_on_left_clickplugin:tray|set_temp_dir_pathplugin:tray|set_titleplugin:tray|set_tooltipplugin:tray|set_visibleplugin:webview|get_all_webviewsplugin:webview|internal_toggle_devtoolsplugin:webview|webview_positionplugin:webview|webview_sizeplugin:window|available_monitorsplugin:window|current_monitorplugin:window|cursor_positionplugin:window|get_all_windowsplugin:window|inner_positionplugin:window|inner_sizeplugin:window|internal_toggle_maximizeplugin:window|is_closableplugin:window|is_decoratedplugin:window|is_enabledplugin:window|is_focusedplugin:window|is_fullscreenplugin:window|is_maximizableplugin:window|is_maximizedplugin:window|is_minimizableplugin:window|is_minimizedplugin:window|is_resizableplugin:window|is_visibleplugin:window|monitor_from_pointplugin:window|outer_positionplugin:window|outer_sizeplugin:window|primary_monitorplugin:window|scale_factorplugin:window|themeplugin:window|title

which is from the opener plugin but i don't see how/where this is included like this.

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.26100 x86_64 (X64)
    ✔ WebView2: 132.0.2957.127
    ✔ MSVC: Visual Studio Build Tools 2022
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: 1.77.2-x86_64-pc-windows-msvc (default)
    - node: 20.17.0
    - pnpm: 9.15.4
    - yarn: 1.22.22
    - npm: 11.0.0

[-] Packages
    - tauri 🦀: 2.2.5
    - tauri-build 🦀: 2.0.5
    - wry 🦀: 0.48.1
    - tao 🦀: 0.31.1
    - tauri-cli 🦀: 2.2.5
    - @tauri-apps/api : 2.2.0
    - @tauri-apps/cli : 2.2.7

[-] Plugins
    - tauri-plugin-opener 🦀: 2.2.5
    - @tauri-apps/plugin-opener : 2.2.5

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - bundler: Vite

Stack trace


Additional context

No response

@FabianLars FabianLars added status: needs triage This issue needs to triage, applied to new issues type: bug labels Jan 30, 2025
@Legend-Master
Copy link
Contributor

which is from the opener plugin but i don't see how/where this is included like this.

I believe they're from tauri::generate_context!(), and this seems to be the description for all the ACL entries under RuntimeAuthority > Manifest

Image

I think they're only used for json schema generation and ain't used anywhere else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants