add resource base path

This commit is contained in:
sergiotarxz 2022-07-01 03:04:36 +02:00
parent 3bff0e6bdb
commit e1792dffeb
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ void main () {
psoe_image = preloaded_images_path + S + "psoe.jpg";
pp_image = preloaded_images_path + S + "pp.jpg";
vox_image = preloaded_images_path + S + "vox.jpg";
if (S == "\\") {
app.set_resource_base_path ("share");
}
app.activate.connect ( () => {
activate (app);
});