mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-09 07:21:04 +02:00
Unhardcode APPVENDOR here and there
This should have been done in a674498a96
.
This commit is contained in:
@@ -102,7 +102,11 @@ elif host_platform == 'linux'
|
||||
embedded_files += [
|
||||
[ 'icon_exe_png', rendered_icons['icon_exe'] ],
|
||||
[ 'icon_cps_png', rendered_icons['icon_cps'] ],
|
||||
[ 'save_xml', files('save.xml') ],
|
||||
[ 'save_xml', configure_file(
|
||||
input: 'save.template.xml',
|
||||
output: 'save.xml',
|
||||
configuration: conf_data,
|
||||
) ],
|
||||
[ 'powder_desktop', configure_file(
|
||||
input: 'powder.template.desktop',
|
||||
output: 'powder.desktop',
|
||||
|
@@ -2,7 +2,7 @@
|
||||
Name=@APPNAME@
|
||||
Type=Application
|
||||
Comment=@APPCOMMENT@
|
||||
MimeType=application/vnd.powdertoy.save;x-scheme-handler/ptsave;
|
||||
MimeType=application/vnd.@APPVENDOR@.save;x-scheme-handler/ptsave;
|
||||
Categories=Game;Simulation;
|
||||
Exec=@APPEXE@ %u
|
||||
Icon=@APPVENDOR@-@APPEXE@
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/vnd.powdertoy.save">
|
||||
<mime-type type="application/vnd.@APPVENDOR@.save">
|
||||
<comment>Powder Toy save</comment>
|
||||
<glob pattern="*.cps"/>
|
||||
<glob pattern="*.stm"/>
|
Reference in New Issue
Block a user