Het forum

Amazon Kindle For PC

Auteur Antwoorden
DirkBo Maandag 7 Februari 2011 om 21:32
DirkBoAnonymous

It's my first pol-script, but it seems to get Kindle going, although it's a bit of an outdated version of Amazons Software.

Wine version: 1.2
Distribution: Ubuntu
Distribution version: 10.10 (Maverick)
Graphics card: ATI, Radeon 4800
Graphics card driver: fglrx
Comments: Everything works great

Code:
#!/bin/bash

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

TYTUL="Amazon Kindle For PC 4"
PREFIX="Kindle"
WORKINGWINEVERSION="1.2.1"

POL_SetupWindow_Init

POL_SetupWindow_presentation "Amazon Kindle For PC 4" "PlayOnLinux" "http://www.playonlinux.com" "DirkBo" "$PREFIX"

select_prefix "$REPERTOIRE/wineprefix/$PREFIX/"
POL_SetupWindow_prefixcreate

cd "$REPERTOIRE/ressources/"
if [ ! -e "KindleForPC-installer.exe" ]; then
#POL_SetupWindow_download "PlayOnLinux is downloading $TYTUL..."  "$TYTUL" "http://kindleforpc.amazon.com/31629/KindleForPC-installer.exe"
POL_SetupWindow_download "PlayOnLinux is downloading $TYTUL..."  "$TYTUL" "http://okomestudio.net/biboroku/wp-content/uploads/2010/06/KindleForPC-installer.exe.bz2"
bunzip2 KindleForPC-installer.exe.bz2
fi

#POL_Call POL_Install_gecko

wget http://www.kegel.com/wine/winetricks-alpha
chmod +x winetricks-alpha
sh winetricks-alpha corefonts

#installing Google SketchUp
POL_SetupWindow_wait_next_signal "PlayOnLinux is installing $TYTUL" "$TYTUL"
wine "KindleForPC-installer.exe" /silent
POL_SetupWindow_detect_exit

#creating shortcut for Google SketchUp
#POL_SetupWindow_auto_shortcut "$PREFIX" "KindleForPC.exe" "$TYTUL"
#Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TYTUL"
#POL_SetupWindow_make_icon_for_shortcut "$TYTUL" "*_sketchupicon.0.png"
 
POL_SetupWindow_message "$TYTUL has been installed successfully" "$TYTUL"
POL_SetupWindow_Close

 
POL_SetupWindow_Close
exit
snort Woensdag 9 Februari 2011 om 18:54
snortAnonymous

Looks great, but when I copy it (cut & paste) as a .pol file and try to run it with POL, I get an error that it is not a valid POL file.
snort Donderdag 10 Februari 2011 om 16:59
snortAnonymous

Sorry about this. I made a mistake. Worked perfectly. Thanks
DirkBo Zaterdag 12 Februari 2011 om 20:43
DirkBoAnonymous

Glad to hear it works.
I wish someone could get a more recent Version of kindle for PC to work though :-/
Je bent hier: Index > > Amazon Kindle For PC

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 dmcayonlinux.com