Skip to content

Commit

Permalink
Update logger-plugin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Highpoint2000 committed Dec 4, 2024
1 parent 0a66655 commit bda5a19
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Logger/logger-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ let ScannerButtonView = false;
let UTCtime = true;
let updateInfo = true;

const plugin_version = 'V1.6c'; // Plugin version
const plugin_version = '1.6c'; // Plugin version
const plugin_path = 'https://raw.githubusercontent.com/highpoint2000/webserver-logger/';
const plugin_JSfile = 'main/Logger/logger-plugin.js'
const plugin_name = 'RDS Logger';
=======
const plugin_version = '1.6b'; // Plugin version

// Function to load configPlugin.json from /js/plugins/Logger directory (WINDOWS SYSTEMS ONLY)
function loadConfig() {
Expand Down Expand Up @@ -76,8 +74,8 @@ function shouldShowNotification() {
return true;
}

// Function to check plugin version
function checkPluginVersion() {
// Function to check plugin version
function checkPluginVersion() {
// Fetch and evaluate the plugin script
fetch(`${plugin_path}${plugin_JSfile}`)
.then(response => response.text())
Expand Down Expand Up @@ -119,7 +117,6 @@ function shouldShowNotification() {
return 0; // Versions are equal
}


// Check version and show notification if needed
const comparisonResult = compareVersions(plugin_version, externalPluginVersion);
if (comparisonResult === 1) {
Expand Down

0 comments on commit bda5a19

Please sign in to comment.