mirror of
https://github.com/wownero/cyberwow.git
synced 2026-10-25 10:18:35 +01:00
move appPath to config
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user