move appPath to config

master
fuwa 5 years ago
parent cd039de7e6
commit f0533dcd4e

@ -20,6 +20,7 @@ along with CyberWOW. If not, see <https://www.gnu.org/licenses/>.
*/
const outputBin = 'wownerod';
const appPath = 'wownerod';
const arch = 'arm64';
// const arch = 'x86_64';

@ -27,13 +27,13 @@ import 'dart:async';
import 'dart:convert';
import 'helper.dart';
import '../config.dart';
Stream<String> runBinary (String name) async* {
final newPath = await getBinaryPath(name);
final appDocDir = await getApplicationDocumentsDirectory();
final appDocPath = appDocDir.path;
const appPath = 'wownerod';
final binDir = new Directory(appDocDir.path + "/" + appPath);
await binDir.create();

Loading…
Cancel
Save