Skip to content

Commit

Permalink
Version 0.93
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Aug 31, 2023
1 parent 8ef87aa commit 81c7430
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions obmenu-generator
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Name: obmenu-generator
# License: GPLv3
# Created: 25 March 2011
# Edited: 31 August 2023
# Edited: 01 September 2023
# https://github.com/trizen/obmenu-generator

use 5.014;
Expand All @@ -35,7 +35,7 @@ use 5.014;
use Linux::DesktopFiles;

my $pkgname = 'obmenu-generator';
my $version = '0.92';
my $version = '0.93';

our ($CONFIG, $SCHEMA);
my $output_h = \*STDOUT;
Expand Down Expand Up @@ -552,7 +552,7 @@ foreach my $file ($desk_obj->get_desktop_files) {
require Encode;
my $path = Encode::decode_utf8($info{Path});
my $exec = Encode::decode_utf8($info{Exec});
$exec = "perl -e 'chdir(\$ARGV[0]) && exec(\$ARGV[1])' \Q$path\E \Q$exec\E";
$exec = "$^X -e 'chdir(\$ARGV[0]) && exec(\$ARGV[1])' \Q$path\E \Q$exec\E";
$info{Exec} = Encode::encode_utf8($exec);
}

Expand Down

0 comments on commit 81c7430

Please sign in to comment.