mirror of https://github.com/espruino/BangleApps
vec to string ?
parent
d8ca24c817
commit
88ebd14fbd
|
@ -39,11 +39,12 @@
|
||||||
init().then(() => {
|
init().then(() => {
|
||||||
|
|
||||||
let gpc_file = convert_gpx_strings(reader.result);
|
let gpc_file = convert_gpx_strings(reader.result);
|
||||||
|
let gpc_string = String.fromCharCode.apply(String, gpc_file);
|
||||||
|
|
||||||
console.log("uploading");
|
console.log("uploading");
|
||||||
sendCustomizedApp({
|
sendCustomizedApp({
|
||||||
storage:[
|
storage:[
|
||||||
{name:gpc_filename, url:'test.gpc', content:gpc_file},
|
{name:gpc_filename, url:'test.gpc', content:gpc_string},
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue