Files
chromebrew/packages/tauri_cli.rb
2026-03-30 03:30:34 +00:00

23 lines
709 B
Ruby

require 'package'
class Tauri_cli < Package
description 'Build smaller, faster, and more secure desktop and mobile applications with a web frontend.'
homepage 'https://tauri.app/'
version '2.10.1'
license 'Apache-2.0, MIT'
compatibility 'x86_64'
min_glibc '2.29'
source_url "https://github.com/tauri-apps/tauri/releases/download/tauri-cli-v#{version}/cargo-tauri-x86_64-unknown-linux-gnu.tgz"
source_sha256 'ac869c0ecd657bf5fa9ae9bcc6664b1994b478abea512b3023c2e0d86e735833'
no_compile_needed
def self.install
FileUtils.install 'cargo-tauri', "#{CREW_DEST_PREFIX}/bin/tauri", mode: 0o755
end
def self.postinstall
ExitMessage.add "\nType 'tauri' to get started.\n"
end
end