Sumatra PDF

Informations

Creator Message
benyaminl

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 1985
Wine: System

Feedbacks

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/.

Source code

#!/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:

Contribute
Member Message
benyaminl Monday 1 May 2023 at 13:26
benyaminl

Information

This update has been approved by the team.

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

New source code

#!/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

Replies

Monday 1 May 2023 at 13:28
There are no option to add the script so I edit it here.
Tuesday 2 May 2023 at 12:25
You did the right way. Script approved.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com