Skip to content

Commit

Permalink
Fix download bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Rizlim authored and Rizlim committed Feb 13, 2019
1 parent 96947b8 commit 61dc83d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/PAL2/GUI/CoreController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ class CoreController : Initializable
GlobalScope.launch {
val fd = FileDownloader()
//TODO: Change to GlobalData temp folder
fd.downloadFile(URL(download_url), File("C:\\Users\\Kirishima\\AppData\\Local\\PAL\\temp_downloads"), 1024, addonDescImg.image, aid)
fd.downloadFile(URL(download_url), GlobalData.temp_down_folder, 1024, addonDescImg.image, aid)
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/PAL2/GlobalData.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class GlobalData
{
companion object
{
var version = "1.0.2"
var version = "1.0.3"
var debugging = false
var install_dir = ""
var github_token = ""
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/update_notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@

</style>
<body>
<div class="block_1 hline-bottom"><h1>Version 1.0.3</h1></div>
<ul>
<li>Fix download bug</li>
</ul>

<div class="block_1 hline-bottom"><h1>Version 1.0.2</h1></div>
<ul>
<li>Tidied up some server code</li>
Expand Down

0 comments on commit 61dc83d

Please sign in to comment.