mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 01:02:34 +00:00
Added packaging support for windows (windows is still glitchy/crashy when it comes to downloading images)
This commit is contained in:
23
Rakefile
Normal file
23
Rakefile
Normal file
@@ -0,0 +1,23 @@
|
||||
raise "OCRA doesn't work with Ruby 3.1.0" if RUBY_VERSION == "3.1.0"
|
||||
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "releasy"
|
||||
require "bundler/setup" # Releasy requires that your application uses bundler.
|
||||
require_relative "lib/version"
|
||||
|
||||
Releasy::Project.new do
|
||||
name "W3D Hub Linux Launcher"
|
||||
version W3DHub::VERSION
|
||||
|
||||
executable "w3d_hub_linux_launcher.rb"
|
||||
files ["lib/**/*.*", "locales/*", "media/**/**", "data/.gitkeep", "data/cache/.gitkeep"]
|
||||
exclude_encoding # Applications that don't use advanced encoding (e.g. Japanese characters) can save build size with this.
|
||||
verbose
|
||||
|
||||
add_build :windows_folder do
|
||||
icon "media/icons/app.ico"
|
||||
executable_type :console # Assuming you don't want it to run with a console window.
|
||||
add_package :exe # Windows self-extracting archive.
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user