📦 Port of tauri-bundler

Overview

📦 Port of tauri-bundler

You can now easily create installers for your Deno apps, thanks to the amazing work of Tauri 💪

IMPORTANT note: the code is still very meh

That beind said, feel free to contribute. If you have any feature idea see Contributing :)

Demo

Before making the installer make sure you have your project as:

+-- MyAppExecutable (.exe if in Windows)
+-- icons
|   +-- icon.ico (Windows)
|   +-- icon.png (MacOS & Linux)

Create a file build.ts, paste and modify as you wish:

import { Installer } from "https://deno.land/x/installer/mod.ts";

const installer = new Installer({
    out_path: `${Deno.cwd()}/dist`,
    src_path: `${Deno.cwd()}/MyAppExecutable${Deno.build.os === "windows" ? ".exe" : ""}`,
    package: {
        product_name: "MyApp",
        version: "1.0.0",
        description: "App made by a denosaur",
        homepage: "https://github.com/marc2332/deno_installer",
        authors: ["Denosaur"],
        default_run: "MyApp"
    },
    bundle: {
        identifier: "my.deno.app",
        icon: [], // It will look under /icons if empty
        resources: [], // Not tested
        copyright: "2022",
        short_description: "Short description!",
        long_description: "Looooooooooong description!"
    }
})

await installer.createInstaller();

Run:

deno run -A --unstable build.ts

The installer path will be printed out.

Contributing

Requisites:

Build the plugin:

deno_bindgen

Create a installer from the demo app:

cd examples/oak
deno compile app.ts
deno run -A --unstable build.ts
You might also like...
A Raycast/Spotlight like app shell using tauri
A Raycast/Spotlight like app shell using tauri

Tauri Shell This repo can be used as reference for building alfred/raycast/spotlight apps using Tauri. Usage This reference repository is using Svelte

Bindings to the Tauri API for projects using wasm-bindgen

tauri-sys Raw bindings to the Tauri API for projects using wasm-bindgen Installation This crate is not yet published to crates.io, so you need to use

Tauri and Leptos example.

tauri-leptos-example Tauri Leptos Requires Rust Nightly. See Leptos nightly Note. # Install Tauri CLI cargo install tauri-cli # Build and develop for

 A cross-platform tauri gui where Oblique Strategies meets Pomodoro
A cross-platform tauri gui where Oblique Strategies meets Pomodoro

Obliqoro Oblique Strategies meets Pomodoro Built in Rust, Vue3, and Typescript, using Tauri, and SQLite Screenshots About Obliqoro is an open source,

OpenAI ChatGPT desktop app for Mac, Windows, & Linux menubar using Tauri & Rust
OpenAI ChatGPT desktop app for Mac, Windows, & Linux menubar using Tauri & Rust

ChatGPT Desktop App Unofficial open source OpenAI ChatGPT desktop app for mac, windows, and linux menubar using tauri & rust. Downloads Windows (2.7 M

Web-wrapped Supabase desktop app for macOS, Windows & Linux powered by Tauri
Web-wrapped Supabase desktop app for macOS, Windows & Linux powered by Tauri

Supabase Desktop App What is it? It's a cross-platform web-wrapped Supabase desktop app powered by Tauri. You can install it on your macOS, Windows (u

SimpleX Chat GUI built with Rust, Tauri and Yew
SimpleX Chat GUI built with Rust, Tauri and Yew

simplex-desktop A desktop application for simplex-chat. WIP, contributions are welcome. Architecture For the back end we rust with tauri and frontend

A lightweight new Bing (AI chat) desktop application which based on Tauri.

Bing Lite A lightweight new Bing (AI chat) desktop application which based on Tauri. No more Microsoft Edge, no more Chromium/Electron! Download The l

🥃 A plugin for swizzling Tauri’s NSWindow to NSPanel

Swizzle Tauri's NSWindow to NSPanel Install There are three general methods of installation that we can recommend. Use crates.io and npm (easiest, and

Comments
  • Add m1 support

    Add m1 support

    Release universal lib for macOS (aarch64 + x86_64 both)

    If you think there is a much simpler approach on workflow, feel free to comment. (I'm not good at writing workflow :q) Also you can see the working example on: https://github.com/hyp3rflow/deno_installer/releases/tag/0.0.3-test

    enhancement 
    opened by hyp3rflow 18
Owner
Marc Espín
Software Developer Student 👨‍💻 and Intern at @ALBA-Synchrotron
Marc Espín
Rust executable packager, bundler and updater.

cargo-packager Rust executable packager, bundler and updater. A tool and library to generate installers or app bundles for your executables. It also h

CrabNebula Ltd. 9 Oct 6, 2023
A cross-platform serial port library in Rust. Provides a blocking I/O interface and port enumeration including USB device information.

Note: This is a fork of the original serialport-rs project on GitLab. Please note there have been some changes to both the supported targets and which

Serialport 128 Jan 4, 2023
Cross-platform Window library in Rust for Tauri. [WIP]

Cross-platform application window creation library in Rust that supports all major platforms like Windows, macOS, Linux, iOS and Android. Built for you, maintained for Tauri.

Tauri 899 Jan 1, 2023
Hydrogen is the desktop application for Geplauder, built with tauri studio.

Hydrogen Hydrogen is the desktop application for Geplauder, built with tauri studio. For more information on Geplauder, click here. Usage To configure

null 4 Nov 21, 2021
Helps positioning your tauri windows.

Tauri plugin positioner A plugin for tauri that helps positioning you windows at well known locations. Install Rust [dependencies] tauri-plugin-positi

Jonas Kruckenberg 42 Jan 5, 2023
A custom invoke system for Tauri that leverages a localhost server

Tauri Invoke HTTP This is a crate that provides a custom invoke system for Tauri using a localhost server. Each message is delivered through a XMLHttp

Tauri 17 Dec 17, 2022
This is a small demo to accompany the Tauri + Yew tutorial

Tauri + Yew Demo This is a small demo to accompany the Tauri + Yew tutorial

Steve Pryde 94 Jan 2, 2023
Rust + Yew + Axum + Tauri, full-stack Rust development for Desktop apps.

rust-yew-axum-tauri-desktop template Rust + Yew + Axum + Tauri, full-stack Rust development for Desktop apps. Crates frontend: Yew frontend app for de

Jet Li 54 Dec 23, 2022
Type-safe IPC for Tauri using GraphQL

Tauri Plugin graphql A plugin for Tauri that enables type-safe IPC through GraphQL. Install Rust [dependencies] tauri-plugin-graphql = "0.2" JavaScrip

Jonas Kruckenberg 40 Dec 29, 2022
🦀 Small Tauri SolidJS Example feat. Vite

Tauri Solid Example (2022) Simple Solid(vite) starter running with Tauri. Should hopefully save some time trying to setup Tauri and Solid. Currently c

Luke Secomb 14 Oct 25, 2022