Changing run.sh for run.pl to try to be able to

open files
This commit is contained in:
Sergiotarxz 2024-10-29 22:30:15 +01:00
parent e3e4a9b928
commit fc7780588f
4 changed files with 6 additions and 5 deletions

View File

@ -126,6 +126,7 @@ sub start($self) {
);
$app->signal_connect(
open => sub($files, $hint) {
warn 'hola';
$self->_activate($files->[0]->get_path);
}
);

View File

@ -93,7 +93,7 @@ modules:
- 'install -Dm644 HiperthermiaSource/me.sergiotarxz.Exd.desktop /app/share/applications/me.sergiotarxz.Exd.desktop'
- 'install -Dm644 HiperthermiaSource/me.sergiotarxz.Exd.mime.xml /app/share/mime/packages/me.sergiotarxz.Exd.mime.xml'
- 'install -Dm644 HiperthermiaSource/exd.svg /app/share/icons/hicolor/scalable/mimetypes/me.sergiotarxz.Exd.application-exd.svg'
- 'install -Dm755 HiperthermiaSource/run.sh /app/bin/hiperthermia'
- 'install -Dm755 HiperthermiaSource/run.pl /app/bin/hiperthermia'
- 'install -Dm644 HiperthermiaSource/exd-logo.png /app/share/icons/hicolor/256x256/apps/me.sergiotarxz.Exd.png'
- 'update-mime-database /app/share/mime'
# - 'install -Dm644 HiperthermiaSource/me.sergiotarxz.Exd.metainfo.xml -t /app/share/metainfo/'

4
run.pl Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env perl
chdir '/app/Hiperthermia';
require '/app/Hiperthermia/scripts/main.pl';

4
run.sh
View File

@ -1,4 +0,0 @@
#!/bin/bash
cd /app/Hiperthermia
perl scripts/main.pl $@