Damage control pass 2
This commit is contained in:
@@ -146,6 +146,7 @@ class AssetGuard extends EventEmitter{
|
||||
this.assets = new DLTracker([], 0)
|
||||
this.libraries = new DLTracker([], 0)
|
||||
this.files = new DLTracker([], 0)
|
||||
this.forge = new DLTracker([], 0)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -548,6 +549,16 @@ function validateLogConfig(versionData, basePath){
|
||||
})
|
||||
}
|
||||
|
||||
function validateForge(){
|
||||
|
||||
}
|
||||
|
||||
function _validateForgeAssets(forgePath){
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This function will initiate the download processed for the specified identifiers. If no argument is
|
||||
* given, all identifiers will be initiated. Note that in order for files to be processed you need to run
|
||||
|
||||
@@ -3,6 +3,17 @@ const remote = require('electron').remote
|
||||
const shell = require('electron').shell
|
||||
const path = require('path')
|
||||
|
||||
$(document).on('ready', function(){
|
||||
$(".toggle-btn input[type=radio]").addClass("visuallyhidden");
|
||||
$(".toggle-btn input[type=radio]").change(function() {
|
||||
if($(this).attr("name")) {
|
||||
$(this).parent().addClass("success").siblings().removeClass("success")
|
||||
} else {
|
||||
$(this).parent().toggleClass("success")
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
/* Open web links in the user's default browser. */
|
||||
$(document).on('click', 'a[href^="http"]', function(event) {
|
||||
event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user