[ux] Add references to settings app

Launch system settings activation pannel on activation and provide "I
don't know my windows edition" button on version select that launches
menu containing windows version and edition
dev
Joaquin 3 years ago
parent 5351ca762f
commit a06e776014
Signed by: puly
GPG Key ID: 9E9299CD96C65EC6
  1. 8
      main.js
  2. 2
      package.json
  3. 4
      webPage/windows/setIPK/edt/10/index.html
  4. 5
      webPage/windows/setIPK/edt/7/index.html
  5. 1
      webPage/windows/setIPK/edt/8/index.html

@ -30,7 +30,7 @@ function getCertDetails(){
} }
function activateWindows(){ function activateWindows(){
exec("powershell start-process powershell -verb runas {slmgr /skms " + kmsServer + " ; slmgr /ipk " + windowsProductKey + " ; sleep 3 ; slmgr /ato}") exec("powershell start-process powershell -verb runas {slmgr /skms " + kmsServer + " ; slmgr /ipk " + windowsProductKey + " ; sleep 3 ; slmgr /ato ; sleep 1 ; start ms-settings:activation}")
//dialog.showErrorBox('Transparency Mode Command:', 'RUN THIS: powershell start-process powershell -verb runas {slmgr /skms ' + kmsServer + ' ; slmgr /ipk ' + productKey + ' ; sleep 3 ; slmgr /ato}') //dialog.showErrorBox('Transparency Mode Command:', 'RUN THIS: powershell start-process powershell -verb runas {slmgr /skms ' + kmsServer + ' ; slmgr /ipk ' + productKey + ' ; sleep 3 ; slmgr /ato}')
} }
@ -67,6 +67,10 @@ function uninstallCert(){
console.log("uninstalled cert") console.log("uninstalled cert")
} }
function activationSettings(){
exec("start ms-settings:activation");
}
ipcMain.on("getCertDetails", getCertDetails) ipcMain.on("getCertDetails", getCertDetails)
ipcMain.on("setKMS", (event, response) => { ipcMain.on("setKMS", (event, response) => {
@ -93,6 +97,8 @@ ipcMain.on("uninstallCert", uninstallCert)
ipcMain.on("openServerPage", openServerPage) ipcMain.on("openServerPage", openServerPage)
ipcMain.on("activationSettings", activationSettings)
app.whenReady().then(() => { app.whenReady().then(() => {
createWindow() createWindow()
}) })

@ -1,6 +1,6 @@
{ {
"name": "univator", "name": "univator",
"version": "1.1.2", "version": "1.1.4",
"description": "Microsoft Product Activator", "description": "Microsoft Product Activator",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

@ -16,6 +16,7 @@
<p class="text-3xl pb-10 font-extrabold tracking-wide">Product Key Gen</p> <p class="text-3xl pb-10 font-extrabold tracking-wide">Product Key Gen</p>
<p class="text-md md:text-xl font-normal tracking-wide pb-10">Select the appropriate windows edition you have</p> <p class="text-md md:text-xl font-normal tracking-wide pb-10">Select the appropriate windows edition you have</p>
<p class="text-md md:text-xl font-normal tracking-wide pb-10">Press the button to automatically generate and install a generic KMS product key.</p> <p class="text-md md:text-xl font-normal tracking-wide pb-10">Press the button to automatically generate and install a generic KMS product key.</p>
<p><a id="settings" style="color:cornflowerblue; text-decoration: underline; cursor:pointer;">I don't know my windows edition</a></p>
<div class="text-center text-white"> <div class="text-center text-white">
<button type="button" class="rounded-xl w-full bg-indigo-900 my-2 py-5 my-2 px-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope]" id="home">Home</button> <button type="button" class="rounded-xl w-full bg-indigo-900 my-2 py-5 my-2 px-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope]" id="home">Home</button>
@ -66,6 +67,9 @@
ipcRenderer.send("setIPK", "NPPR9-FWDCX-D2C8J-H872K-2YT43"); ipcRenderer.send("setIPK", "NPPR9-FWDCX-D2C8J-H872K-2YT43");
location.href = "../../../activate/index.html"; location.href = "../../../activate/index.html";
}); });
document.getElementById("settings").addEventListener("click", function(){
ipcRenderer.send("activationSettings");
});
</script> </script>

@ -16,10 +16,11 @@
<p class="text-3xl pb-10 font-extrabold tracking-wide">Product Key Gen</p> <p class="text-3xl pb-10 font-extrabold tracking-wide">Product Key Gen</p>
<p class="text-md md:text-xl font-normal tracking-wide pb-10">Select the appropriate windows edition you have</p> <p class="text-md md:text-xl font-normal tracking-wide pb-10">Select the appropriate windows edition you have</p>
<p class="text-md md:text-xl font-normal tracking-wide pb-10">Press the button to automatically generate and install a generic KMS product key. <span class="font-bold">Windows 7 Home and Ultimate are not supported, but can be easily activated via phone for free using generic license keys.</span></p> <p class="text-md md:text-xl font-normal tracking-wide pb-10">Press the button to automatically generate and install a generic KMS product key. <span class="font-bold">Windows 7 Home and Ultimate are not supported, but can be easily activated via phone for free using generic license keys.</span></p>
<p><a id="settings" style="color:cornflowerblue; text-decoration: underline; cursor:pointer;">I don't know my windows edition</a></p>
<div class="text-center text-white"> <div class="text-center text-white">
<button type="button" class="rounded-xl w-full bg-indigo-900 my-2 py-5 my-2 px-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope]" id="pro">Pro</button> <button type="button" class="rounded-xl w-full bg-indigo-900 my-2 py-5 my-2 px-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope]" id="pro">7 Pro</button>
<button type="button" class="rounded-xl w-full bg-indigo-900 my-2 py-5 my-2 px-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope]" id="ent">Enterprise</button> <button type="button" class="rounded-xl w-full bg-indigo-900 my-2 py-5 my-2 px-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope]" id="ent">7 Enterprise</button>
</div> </div>
</div> </div>

@ -16,6 +16,7 @@
<p class="text-3xl pb-10 font-extrabold tracking-wide">Product Key Gen</p> <p class="text-3xl pb-10 font-extrabold tracking-wide">Product Key Gen</p>
<p class="text-md md:text-xl font-normal tracking-wide pb-10">Select the appropriate windows edition you have</p> <p class="text-md md:text-xl font-normal tracking-wide pb-10">Select the appropriate windows edition you have</p>
<p class="text-md md:text-xl font-normal tracking-wide pb-10">Press the button to automatically generate and install a generic KMS product key.</p> <p class="text-md md:text-xl font-normal tracking-wide pb-10">Press the button to automatically generate and install a generic KMS product key.</p>
<p><a id="settings" style="color:cornflowerblue; text-decoration: underline; cursor:pointer;">I don't know my windows edition</a></p>
<div class="text-center text-white"> <div class="text-center text-white">
<button type="button" class="rounded-xl w-full bg-indigo-900 my-2 py-5 my-2 px-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope]" id="8pro">8 Pro</button> <button type="button" class="rounded-xl w-full bg-indigo-900 my-2 py-5 my-2 px-5 text-sm md:text-xl font-bold tracking-wide justify-center items-center font-[manrope]" id="8pro">8 Pro</button>

Loading…
Cancel
Save