Sumatra PDF

Informations

Créateur Messages
benyaminl

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 1400
Wine: System

Retours d'expérience

Description

SumatraPDF is a free and open-source document viewer that supports many document formats including: PDF, EPUB, MOBI, CBZ, CBR, FB2, CHM, XPS, DjVu and more³. It is designed to be small, fast, customizable and portable¹². It has a simple and minimalist user interface that can be easily customized with themes and keyboard shortcuts¹. It also supports features such as bookmarks, printing, text search, annotations and more¹.

Source: Bing AI, 5/1/2023
(1) Sumatra PDF - Wikipedia. https://en.wikipedia.org/wiki/Sumatra_PDF.
(2) Free PDF Reader - Sumatra PDF. https://sumatrapdfreader.org/free-pdf-reader.
(3) GitHub - sumatrapdfreader/sumatrapdf: SumatraPDF reader. https://github.com/sumatrapdfreader/sumatrapdf.
(4) SumatraPDF Reader download | SourceForge.net. https://sourceforge.net/projects/sumatrapdf-reader.mirror/.

Code source

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
POL_SetupWindow_message "Installing/Download Sumatra PDF!" "This will download sumatrapdf"

POL_SetupWindow_InstallMethod "DOWNLOAD"
POL_Download "https://www.sumatrapdfreader.org/dl/rel/3.4.6/SumatraPDF-3.4.6-64.zip" 

POL_Wine_SelectPrefix "SumatraPDF"
POL_Wine_PrefixCreate

unzip $POL_System_TmpDir/SumatraPDF-3.4.6-64.zip -d $PREFIX/SumatraPDF

POL_Shortcut "sumatrapdf.exe" "Sumatra PDF"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
benyaminl Lundi 1 Mai 2023 à 13:26
benyaminl

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -0,0 +1,20 @@
+#!/usr/bin/env playonlinux-bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+POL_SetupWindow_Init
+ 
+POL_SetupWindow_message "Installing/Download Sumatra PDF!" "This will download sumatrapdf"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD"
+POL_Download "https://www.sumatrapdfreader.org/dl/rel/3.4.6/SumatraPDF-3.4.6-64.zip" 
+
+POL_Wine_SelectPrefix "SumatraPDF"
+POL_Wine_PrefixCreate
+
+unzip $POL_System_TmpDir/SumatraPDF-3.4.6-64.zip -d $PREFIX/SumatraPDF
+
+POL_Shortcut "sumatrapdf.exe" "Sumatra PDF"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
POL_SetupWindow_message "Installing/Download Sumatra PDF!" "This will download sumatrapdf"

POL_SetupWindow_InstallMethod "DOWNLOAD"
POL_Download "https://www.sumatrapdfreader.org/dl/rel/3.4.6/SumatraPDF-3.4.6-64.zip" 

POL_Wine_SelectPrefix "SumatraPDF"
POL_Wine_PrefixCreate

unzip $POL_System_TmpDir/SumatraPDF-3.4.6-64.zip -d $PREFIX/SumatraPDF

POL_Shortcut "sumatrapdf.exe" "Sumatra PDF"
 
POL_SetupWindow_Close
exit

Réponses

Lundi 1 Mai 2023 à 13:28
There are no option to add the script so I edit it here.
Mardi 2 Mai 2023 à 12:25
You did the right way. Script approved.