mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-30 05:28:15 +03:00
db6c219776
- made Discord RPC preparations made `discord-rpc` cli utility made `DiscordRPC` class to manage it - changed `'` to `"` in every command execution - `Voice.current` field changed to `Voice.installed` - `Voice.selected` field now returns list of selected voice packages - added `Voice.delete()` method to delete voice package - `Voice.isUpdatePredownloaded()` method now can check list of voice packages - fixed ProgressBar's `showTotals` property work - decreased maximal wine prefix creation log size in progress bar - improved `Process.run` command which now finds correct process id - made DropdownCheckboxes component - made voice packages selection system
46 lines
1.2 KiB
JavaScript
46 lines
1.2 KiB
JavaScript
const path = require('path');
|
|
|
|
// Require bundler
|
|
const { Bundler } = require('neutralino-appimage-bundler');
|
|
|
|
// Create an object with some params
|
|
const bundler = new Bundler({
|
|
// .desktop file properties
|
|
desktop: {
|
|
// Name field
|
|
name: 'An Anime Game Launcher',
|
|
|
|
// Path to the icon
|
|
icon: path.join(__dirname, '../public/icons/64x64.png'),
|
|
|
|
// Categories (defult is Utilities)
|
|
categories: ['Game']
|
|
},
|
|
|
|
// Neutralino binary info
|
|
binary: {
|
|
// Name of the binary (cli.binaryName)
|
|
name: 'an-anime-game-launcher',
|
|
|
|
// Dist folder path
|
|
dist: path.join(__dirname, '../dist')
|
|
},
|
|
|
|
// Should AppImage contain Neutralino's dependencies or not
|
|
// If true, then AppImage will contain binary's shared libraries
|
|
includeLibraries: false,
|
|
|
|
// Some files or folders to copy inside of the the AppImage
|
|
copy: {
|
|
'public': path.join(__dirname, '../dist/an-anime-game-launcher/public')
|
|
},
|
|
|
|
// Path to the appimage to save
|
|
output: path.join(__dirname, '../dist/An Anime Game Launcher.AppImage'),
|
|
|
|
// Application version
|
|
version: '2.0.0-beta-3'
|
|
});
|
|
|
|
// Bundle project
|
|
bundler.bundle();
|