Skip to content

Commit

Permalink
added missing axios import to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Oct 15, 2023
1 parent 6c8ab91 commit 2c95a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const fs = require("fs");
const os = require('os');
const path = require('path');
const settings = require('electron-settings');
const axios = require('axios');
//require('update-electron-app')();
let files = [];
let DEBUG = false;
Expand Down
2 changes: 1 addition & 1 deletion preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ window.addEventListener('DOMContentLoaded', () => {
tracking.classList.remove('d-none')
// Update your UI with the progress information
updateProgressBar.value = value;
// Hide progress when done
if (progressObj.percent > 99) tracking.classList.add('d-none')
// You can now perform actions in your UI based on the received message
});
})

1 comment on commit 2c95a93

@vercel
Copy link

@vercel vercel bot commented on 2c95a93 Oct 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.