yWriter 5

Informations

Créateur Messages
Ronin DUSETTE

Information

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

Informations

Plate-formes :
Téléchargements : 16017
Wine: 1.6.2

Retours d'expérience

Description

"yWriter is a word processor which breaks your novel into chapters and scenes, helping you keep track of your work while leaving your mind free to create. It will not write your novel for you, suggest plot ideas or perform creative tasks of any kind. yWriter was designed by an author, not a salesman!"   Website.

Captures d'écran

MiniatureMiniature

Code source

#!/bin/bash
# Date : (2014-01-03)
# Last revision : (2014-05-30)
# Distribution used to test : Arch 64-bit, fully up-to-date as of 2014-01-05
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.2


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="ywriter5"
WINEVERSION="1.6.2"
TITLE="yWriter 5"
EDITOR="Spacejock Software"
GAME_URL="http://www.spacejock.com"
AUTHOR="DJYoshaBYD"

#Initialization
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
# POL_System_unzip
POL_RequiredVersion "4.1.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.4 is required to install $TITLE"
POL_SetupWindow_SetID 1916

POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation archive:')" "$TITLE" "" "*.zip"
    ZIPARCHIVE="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"

    cd "$POL_System_TmpDir"
    POL_Download "http://www.spacejock.com/files/yWriter5.zip" "c45b10fe20c61c4a56129f1f3e92d4b4"
    ZIPARCHIVE="$POL_System_TmpDir/yWriter5.zip"
fi

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

#Dependencies
POL_Call POL_Install_gdiplus
POL_Call POL_Install_riched20
POL_Call POL_Install_dotnet20sp2

# Configuration
Set_OS "winxp"

# Installation
POL_Debug_Message "Installing $TITLE..."

POL_System_unzip "$ZIPARCHIVE" -d "$WINEPREFIX/drive_c"


# Create Shortcuts
POL_Shortcut "yWriter5.exe" "$TITLE"

# Cleanup TMP folder
POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
petch Vendredi 14 Aoüt 2015 à 23:53
petch

Information

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

Messages

Add POL_RequiredVersion (for POL_System_unzip use) and SetID

Differences

@@ -20,6 +20,9 @@
 #Initialization
 #POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+# POL_System_unzip
+POL_RequiredVersion "4.1.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.4 is required to install $TITLE"
+POL_SetupWindow_SetID 1916
 
 POL_Debug_Init
 

Nouveau code source

#!/bin/bash
# Date : (2014-01-03)
# Last revision : (2014-05-30)
# Distribution used to test : Arch 64-bit, fully up-to-date as of 2014-01-05
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.2


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="ywriter5"
WINEVERSION="1.6.2"
TITLE="yWriter 5"
EDITOR="Spacejock Software"
GAME_URL="http://www.spacejock.com"
AUTHOR="DJYoshaBYD"

#Initialization
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
# POL_System_unzip
POL_RequiredVersion "4.1.4" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.4 is required to install $TITLE"
POL_SetupWindow_SetID 1916

POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation archive:')" "$TITLE" "" "*.zip"
    ZIPARCHIVE="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"

    cd "$POL_System_TmpDir"
    POL_Download "http://www.spacejock.com/files/yWriter5.zip" "c45b10fe20c61c4a56129f1f3e92d4b4"
    ZIPARCHIVE="$POL_System_TmpDir/yWriter5.zip"
fi

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

#Dependencies
POL_Call POL_Install_gdiplus
POL_Call POL_Install_riched20
POL_Call POL_Install_dotnet20sp2

# Configuration
Set_OS "winxp"

# Installation
POL_Debug_Message "Installing $TITLE..."

POL_System_unzip "$ZIPARCHIVE" -d "$WINEPREFIX/drive_c"


# Create Shortcuts
POL_Shortcut "yWriter5.exe" "$TITLE"

# Cleanup TMP folder
POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Réponses

petch Vendredi 14 Aoüt 2015 à 21:39
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Update download hash

Update Wine version

Add dotnet20sp2 component (fixes freeze at the end of new project wizard)

Some cleanups

Support for "local" install method (web site is very slow)

Differences

@@ -5,57 +5,62 @@
 # Author : DJYoshaBYD
 # Licence : GPLv3
 # PlayOnLinux: 4.2.2
-     
-     
+
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-     
+
 PREFIX="ywriter5"
-WINEVERSION="1.6"
+WINEVERSION="1.6.2"
 TITLE="yWriter 5"
 EDITOR="Spacejock Software"
 GAME_URL="http://www.spacejock.com"
 AUTHOR="DJYoshaBYD"
-     
+
 #Initialization
-POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
-     
+
 POL_Debug_Init
-     
+
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-     
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]; then
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation archive:')" "$TITLE" "" "*.zip"
+    ZIPARCHIVE="$APP_ANSWER"
+else
+    POL_System_TmpCreate "$PREFIX"
+
+    cd "$POL_System_TmpDir"
+    POL_Download "http://www.spacejock.com/files/yWriter5.zip" "c45b10fe20c61c4a56129f1f3e92d4b4"
+    ZIPARCHIVE="$POL_System_TmpDir/yWriter5.zip"
+fi
+
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
-     
+
 #Dependencies
 POL_Call POL_Install_gdiplus
 POL_Call POL_Install_riched20
-     
+POL_Call POL_Install_dotnet20sp2
+
 # Configuration
 Set_OS "winxp"
-     
+
 # Installation
-cd $POL_USER_ROOT/tmp
- 
-POL_Download "http://www.spacejock.com/files/yWriter5.zip" "2bc1d83f98ce9460563d3e24456f07f5"
- 
-POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "$TITLE"
- 
 POL_Debug_Message "Installing $TITLE..."
- 
-unzip $POL_USER_ROOT/tmp/yWriter5.zip -d $WINEPREFIX/drive_c
 
- 
-# Cleanup TMP folder
- 
-rm $POL_USER_ROOT/tmp/yWriter5.zip
-     
+POL_System_unzip "$ZIPARCHIVE" -d "$WINEPREFIX/drive_c"
+
+
 # Create Shortcuts
 POL_Shortcut "yWriter5.exe" "$TITLE"
 
+# Cleanup TMP folder
+POL_System_TmpDelete
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2014-01-03)
# Last revision : (2014-05-30)
# Distribution used to test : Arch 64-bit, fully up-to-date as of 2014-01-05
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.2


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="ywriter5"
WINEVERSION="1.6.2"
TITLE="yWriter 5"
EDITOR="Spacejock Software"
GAME_URL="http://www.spacejock.com"
AUTHOR="DJYoshaBYD"

#Initialization
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init

POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the installation archive:')" "$TITLE" "" "*.zip"
    ZIPARCHIVE="$APP_ANSWER"
else
    POL_System_TmpCreate "$PREFIX"

    cd "$POL_System_TmpDir"
    POL_Download "http://www.spacejock.com/files/yWriter5.zip" "c45b10fe20c61c4a56129f1f3e92d4b4"
    ZIPARCHIVE="$POL_System_TmpDir/yWriter5.zip"
fi

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

#Dependencies
POL_Call POL_Install_gdiplus
POL_Call POL_Install_riched20
POL_Call POL_Install_dotnet20sp2

# Configuration
Set_OS "winxp"

# Installation
POL_Debug_Message "Installing $TITLE..."

POL_System_unzip "$ZIPARCHIVE" -d "$WINEPREFIX/drive_c"


# Create Shortcuts
POL_Shortcut "yWriter5.exe" "$TITLE"

# Cleanup TMP folder
POL_System_TmpDelete

POL_SetupWindow_Close
exit 0

Réponses

Edité par petch

Angel_VV Jeudi 17 Juillet 2014 à 7:50
Angel_VV Anonymous

Messages

I sent a bug report on your installer, but if you ignore it, it's OK. The installer yields an error when checking the md5 checksum, but the program installs anyway and runs perfectly.

Réponses

Anonymous
Jeudi 17 Juillet 2014 à 17:18
The bug are not ignored, they are stored in a different place because we receive a very huge amount of them. Do you have the new md5sum?