-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* increase sw freq limit * Halfway done with config tool stuff * added enable boxes * more work on motor setup and testing * Cleaned up some stuff * intermediate changes for apps setup * Update boardsetupwindow.cpp * more progress on tool * beta version of tool * fixed minor bugs * Update boardsetupwindow.cpp * fixed compilation issues for 3.01 * Fixed autodetection of USB on windows * remove extra file * fixed a few minor issues * make ios work again * fix for package store data on iOS issue #298 * Fixed firmware archive on iOS and patched a few build issues introduced from recent changes - QProcess is not supported on iOS among a couple other platforms - Added timer workaround to not freeze UI when archive is downloaded on iOS - Apparently on iOS a mkpath call is required before writing to appdata. This keeps files hidden nicely and seems to work well. Also prevents need for platform specific #ifdefs which is nice
- Loading branch information
1 parent
a539edb
commit a1268bb
Showing
8 changed files
with
48 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* | ||
/* | ||
Copyright 2016 - 2020 Benjamin Vedder [email protected] | ||
This file is part of VESC Tool. | ||
|
@@ -3993,8 +3993,11 @@ bool VescInterface::downloadFwArchive() | |
QNetworkAccessManager manager; | ||
QNetworkRequest request(url); | ||
QNetworkReply *reply = manager.get(request); | ||
|
||
QString path = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/res_fw.rcc"; | ||
QString appDataLoc = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); | ||
if(!QDir(appDataLoc).exists()) { | ||
QDir().mkpath(appDataLoc); | ||
} | ||
QString path = appDataLoc + "/res_fw.rcc"; | ||
QFile file(path); | ||
QResource::unregisterResource(path); | ||
if (file.open(QIODevice::WriteOnly)) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters