diff --git a/README.md b/README.md index 03b2212..4fca2f5 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,4 @@ sudo meson install -C build #### Windows -Download from [here](https://nextcloud.sergiotarxz.freemyip.com/index.php/s/4286LoZ5XHzY3J4) the lastest version. +Download from [here](https://nextcloud.sergiotarxz.freemyip.com/index.php/s/inNRCWyzBdSEZTF) the lastest version. diff --git a/package.pl b/package.pl index 1d2d1a9..7b7969d 100644 --- a/package.pl +++ b/package.pl @@ -23,16 +23,8 @@ create_executable(); sub create_executable { my $zip = path('recuento.7z'); - my $config = path('config.txt'); my $executable = path('recuento.exe'); - my $config_txt_contents = <<'EOF'; -;!@Install@!UTF-8! -Title="Recuento" -RunProgram="recuento\Recuento.exe" -;!@InstallEnd@! -EOF - $config->spew_utf8($config_txt_contents); - open my $fh, '-|', qw@cat /usr/bin/7zS2.sfx@, $zip; + open my $fh, '-|', qw@cat /usr/x86_64-w64-mingw32/usr/bin/7zS2.sfx.exe@, $zip; binmode $fh, ':raw'; my $executable_contents = join '', <$fh>; $executable->spew($executable_contents);