Skip to content

Commit

Permalink
Version 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
niclaslindstedt committed Oct 13, 2013
1 parent 65f98c1 commit 5c63b6e
Show file tree
Hide file tree
Showing 7 changed files with 455 additions and 92 deletions.
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
36 changes: 36 additions & 0 deletions Include/StrStrip.nsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Function StrStrip
Exch $R0 #string
Exch
Exch $R1 #in string
Push $R2
Push $R3
Push $R4
Push $R5
StrLen $R5 $R0
StrCpy $R2 -1
IntOp $R2 $R2 + 1
StrCpy $R3 $R1 $R5 $R2
StrCmp $R3 "" +9
StrCmp $R3 $R0 0 -3
StrCpy $R3 $R1 $R2
IntOp $R2 $R2 + $R5
StrCpy $R4 $R1 "" $R2
StrCpy $R1 $R3$R4
IntOp $R2 $R2 - $R5
IntOp $R2 $R2 - 1
Goto -10
StrCpy $R0 $R1
Pop $R5
Pop $R4
Pop $R3
Pop $R2
Pop $R1
Exch $R0
FunctionEnd
!macro StrStrip Str InStr OutVar
Push '${InStr}'
Push '${Str}'
Call StrStrip
Pop '${OutVar}'
!macroend
!define StrStrip '!insertmacro StrStrip'
9 changes: 9 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2013-10-13 - nQuakesv v1.4 for Windows

* Improved the full version setup step, which now searches for pak1.pak in likely locations and skips the step entirely if it can be found in one of three key locations.
* Setup now also looks for setup files in the installer folder.
* Setup now copies pak0.pak and pak1.pak to setup file folder for later use if user selects to keep setup files.
* Fixed the bug where the installation folder would sometimes not get removed.
* Fixed the bug where the setup files folder would get removed even if it wasn't empty. (This could cause pretty much damage if the files were downloaded to e.g. D:\.)
* Minor bug fixes and code improvement.

2013-10-10 - nQuakesv v1.3 for Windows

* Fixed the bug where the download size was inaccurate.
Expand Down
61 changes: 61 additions & 0 deletions download.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
[Settings]
NumFields=7

[Field 1]
Type=Label
Top=0
Left=0
Right=290
Bottom=30
Text=Please select a folder where the setup files can be saved. The setup files can be used later for offline installations. You can also select a mirror close to you from the drop-down list to improve download speed. Click Next to continue.

[Field 2]
Type=GroupBox
Top=28
Left=0
Right=300
Bottom=65
Text=Download Folder

[Field 3]
Type=DirRequest
Top=42
Left=10
Right=290
Bottom=55
State=C:\

[Field 4]
Type=CheckBox
Top=70
Left=0
Right=300
Bottom=80
Text=Download updated versions of locally stored setup files.
State=1

[Field 5]
Type=CheckBox
Top=80
Left=0
Right=300
Bottom=90
Text=Delete the setup files after installation has completed.
State=0

[Field 6]
Type=GroupBox
Top=94
Left=0
Right=300
Bottom=131
Text=Download Mirror

[Field 7]
Type=DropList
ListItems=a|b|c
Top=108
Left=10
Right=290
Bottom=3000
State="Randomly selected mirror (Recommended)"
Loading

0 comments on commit 5c63b6e

Please sign in to comment.