1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-05-28 23:41:32 +00:00

ui: hide download sym file if not available

This commit is contained in:
Steven Hugg 2022-10-04 10:58:44 -05:00
parent 03eb4f5e6f
commit 4b88223d04

View File

@ -1941,7 +1941,11 @@ function setupDebugControls() {
$("#item_download_rom").click(_downloadROMImage);
$("#item_download_file").click(_downloadSourceFile);
$("#item_download_zip").click(_downloadProjectZipFile);
$("#item_download_sym").click(_downloadSymFile);
if (platform.getDebugSymbolFile) {
$("#item_download_sym").click(_downloadSymFile);
} else {
$("#item_download_sym").hide();
}
$("#item_download_allzip").click(_downloadAllFilesZipFile);
$("#item_record_video").click(_recordVideo);
if (platform_id.startsWith('apple2') || platform_id.startsWith('vcs')) // TODO: look for function