Create stanalone installer

This commit is contained in:
Kamte
2024-03-13 22:31:48 +06:30
committed by GitHub
parent d7f68fb4bf
commit 7769127675
25 changed files with 565 additions and 0 deletions

1
resources/Config.xml Normal file
View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Config><UIConfig><HideVersion>false</HideVersion><SkipLaunch>true</SkipLaunch><HidePIIScreen>true</HidePIIScreen><ShowInstallOptions>true</ShowInstallOptions><SkipAccLaunch>true</SkipAccLaunch></UIConfig></Config>

View File

@@ -0,0 +1,8 @@
{
"Name": "Výukové lekce k aplikaci Photoshop 2021",
"SubTitle": "Začněte, naučte se základy a nechte se inspirovat.",
"Operating1xWin": "Windows 10 version 1809 (64bitová verze) (minimální požadavek)",
"OperatingSystemMac": "Mac OS 10.14 (minimální požadavek)",
"Memory": "Instalace aplikace vyžaduje alespoň 8 GB paměti RAM",
"TextSlide1": "Plná náruč kreativity"
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Photoshop 2021 – Tutorials",
"SubTitle": "Erste Schritte, Grundlagen, Inspirationen.",
"Operating1xWin": "Windows 10 version 1809 (64-Bit) (mindestens erforderlich)",
"OperatingSystemMac": "Mac OS 10.14 (mindestens erforderlich)",
"Memory": "Sie benötigen mindestens 8 GB RAM, um die Anwendung zu installieren",
"TextSlide1": "Kreativität für alle."
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Photoshop 2021 tutorials",
"SubTitle": "Get started, get the essentials, get inspired.",
"Operating1xWin": "Windows 10 version 1809 (64-bit) (Minimum required)",
"OperatingSystemMac": "Mac OS 10.14 (Minimum required)",
"Memory": "You need minimum 8Gb RAM to install the application",
"TextSlide1": "Creativity for all."
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Tutoriales de Photoshop 2021",
"SubTitle": "Empiece, descubra los fundamentos y encuentre inspiración.",
"Operating1xWin": "Windows 10 version 1809 (64 bits) (mínimo requerido)",
"OperatingSystemMac": "Mac OS 10.14 (mínimo requerido)",
"Memory": "Se necesita un mínimo de 8 GB de RAM para instalar la aplicación",
"TextSlide1": "Creatividad para todos"
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Tutoriels Photoshop 2021",
"SubTitle": "Lancez-vous, saisissez l'essentiel, soyez inspiré.",
"Operating1xWin": "Windows 10 version 1809 (minimum requis)",
"OperatingSystemMac": "Mac OS 10.14 (minimum requis)",
"Memory": "Vous avez besoin de 8 Go de mémoire vive minimum pour installer l'application.",
"TextSlide1": "La créativité pour tous.",
}

View File

@@ -0,0 +1,9 @@
{
"Name": "Esercitazioni di Photoshop 2021",
"SubTitle": "Iniziate, raccogliete tutto ciò che vi serve e lasciatevi ispirare.",
"Operating1xWin": "Windows 10 version 1809 (64 bit) (versione minima richiesta)",
"OperatingSystemMac": "Mac OS 10.14 (versione minima richiesta)",
"Memory": "Sono necessari almeno 8 Gb di RAM per installare l'applicazione",
"TextSlide1": "Colora consente di ricolorare le fotografie in bianco e nero.",
"TextSlide2": "Creatività per tutti."
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Photoshop 2021 チュートリアル",
"SubTitle": "はじめに、基本事項を学び、ヒントを得てください。",
"Operating1xWin": "Windows 10 version 1809 (64-bit) (以上)",
"OperatingSystemMac": "Mac OS 10.14 (以上)",
"Memory": "アプリケーションをインストールするには、最低 8GB の RAM が必要です。",
"TextSlide1": "すべての人に「つくる力」を"
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Photoshop 2021 자습서",
"SubTitle": "시작하여 필수 기능을 이용해 보십시오.",
"Operating1xWin": "Windows 10 version 1809 (64비트)(최소 요구 사양)",
"OperatingSystemMac": "Mac OS 10.14(최소 요구 사양)",
"Memory": "애플리케이션을 설치하려면 최소 8GB의 RAM이 필요합니다.",
"TextSlide1": "모두를 위한 크리에이티브"
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Zelfstudies voor Photoshop 2021",
"SubTitle": "Ga aan de slag met handige tools en laat u inspireren.",
"Operating1xWin": "Windows 10 version 1809 (64-bits) (minimaal vereist)",
"OperatingSystemMac": "Mac OS 10.14 (minimaal vereist)",
"Memory": "U hebt minimaal 8 GB RAM nodig om de toepassing te installeren",
"TextSlide1": "Creativiteit voor iedereen."
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Samouczki programu Photoshop 2021",
"SubTitle": "Rozpocznij, poznaj wszystkie podstawy, zainspiruj się.",
"Operating1xWin": "Windows 10 version 1809 (64-bitowy) (minimalna wymagana wersja)",
"OperatingSystemMac": "Mac OS 10.14 (minimalna wymagana wersja)",
"Memory": "Do instalacji aplikacji wymagane są co najmniej 8 GB pamięci RAM.",
"TextSlide1": "Kreatywność dla wszystkich"
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Руководства по Photoshop 2021",
"SubTitle": "Создавайте работы, узнавайте новое, получайте вдохновение.",
"Operating1xWin": "Windows 10 версия 1809 (64-разрядная) (минимально допустимая версия)",
"OperatingSystemMac": "Mac OS 10.14 (минимально допустимая версия)",
"Memory": "Для установки приложения требуется минимум 8 ГБ ОЗУ",
"TextSlide1": "Проявить себя в творчестве может каждый!"
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Självstudiekurser för Photoshop 2021",
"SubTitle": "Kom igång, lär dig det grundläggande och bli inspirerad.",
"Operating1xWin": "Windows 10 version 1809 (64-bitars) krävs",
"OperatingSystemMac": "macOS 10.14 krävs",
"Memory": "Om du vill installera programmet måste du ha minst 8 GB med RAM-minne",
"TextSlide1": "Kreativitet för alla."
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Photoshop 2021 教程",
"SubTitle": "快速入门,获得必备工具,获得灵感。",
"Operating1xWin": "Windows 10 version 1809 (64 位)(最低要求)",
"OperatingSystemMac": "Mac OS 10.14(最低要求)",
"Memory": "您至少需要 8GB RAM 才能安装此应用程序",
"TextSlide1": "人人都能發揮創意"
}

View File

@@ -0,0 +1,8 @@
{
"Name": "Photoshop 2021 教學課程",
"SubTitle": "開始使用、瞭解基本知識、取得靈感。",
"Operating1xWin": "Windows 10 version 1809 (64 位元) (最低需求)",
"OperatingSystemMac": "Mac OS 10.14 (最低需求)",
"Memory": "您需要至少 8 GB 的 RAM 才能安裝應用程式",
"TextSlide1": "人人都能發揮創意"
}

View File

@@ -0,0 +1,78 @@
$(document).ready(function () {
cecInit();
})
function cecInit() {
var jsonData;
var locale = getParameterByName('locale');
var isHighDpi = getParameterByName('isHighDpi');
cecGetLocaleJson(locale);
}
function resizeWin() {
myWindow.resizeTo(455, 239);
}
var slideIndex = 0;
showSlides();
function showSlides() {
var i;
var slides = document.getElementsByClassName("mySlides");
for (i = 0; i < slides.length; i++) {
console.log(slides[i]);
slides[i].style.opacity = "0";
slides[i].style.visibility = "hidden";
}
slideIndex++;
if (slideIndex > slides.length) {slideIndex = 1}
slides[slideIndex-1].style.opacity = "1";
slides[slideIndex-1].style.visibility = "visible";
var x = document.getElementsByTagName('video');
if (slideIndex == 99) {
x[0].currentTime = 0;
}
setTimeout(showSlides, 20000); // Change image every 20.00 seconds
}
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
function cecGetLocaleJson(locale)
{
console.log("cecGetLocaleJson");
var jsonLocation = "Dictionary/" + locale + "/locale.json";
$.getJSON(jsonLocation, function (data) {
cecDisplayContent(data, locale);
})
.fail(function () {
if(locale == "en_US") {
return;
}
cecGetLocaleJson("en_US");
})
}
function cecDisplayContent(data, locale)
{
var lcl = locale.slice(3,5);
var url = "https://www.adobe.com/"+lcl.toLowerCase()+"/products/photoshop-lightroom-classic.html";
if(locale == "en_us" || locale == "en_US") {
url = "https://www.adobe.com/products/photoshop-lightroom-classic.html";
}
if(locale == "zh_tw" || locale == "zh_TW") {
url = "https://www.adobe.com/tw/products/photoshop-lightroom-classic.html";
}
if(locale == "zh_cn" || locale == "zh_CN") {
url = "https://www.adobe.com/cn/products/photoshop-lightroom-classic.html";
}
document.getElementById("slideContainer").onclick =function() { parent.cecExternalLink(url) };
document.getElementById("slideText1").innerHTML = data["TextSlide1"];
}

View File

@@ -0,0 +1,7 @@
@charset "utf-8";
@font-face {
font-family: 'AdobeClean';
src: url('fonts/adobeclean/adobeclean-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}

View File

@@ -0,0 +1,91 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>PHSP installer slideshow</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/styles.css">
<style>
html {
background-color: #fff;
}
* {box-sizing: border-box;}
body {
margin:0px;}
.mySlides {opacity: 0; position: absolute; transition: all 1s;}
img {vertical-align: middle;}
/* Slideshow container */
.slideshow-container {
max-width: 445px;
position: relative;
margin: auto;
cursor: pointer;
}
/* Caption text */
.text {
font-family: 'AdobeClean', Helvetica, Arial, sans-serif;
color: #fff;
font-weight: 450;
font-size: 15px;
letter-spacing: .3;
padding-left: 20px;
position: absolute;
bottom: 95px;
width: 30%;
text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
font-family: 'AdobeClean', Helvetica, Arial, sans-serif;
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
.active {
background-color: #717171;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1s;
animation-name: fade;
animation-duration: 1s;
}
@-webkit-keyframes fade {
from {opacity: .7}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .1}
to {opacity: 1}
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.text {font-size: 11px}
}
</style>
</head>
<body>
<div class="slideshow-container" id="slideContainer" href="#">
<div class="mySlides fade" style="opacity: 1; visibility: visible;">
<video class="videos" autoplay loop muted style="width: 445px; height: 239px;"><source src="images/01_creativity_for_all_445x239.mp4" style="width: 445px; height: 239px;"></video>
<div class="text" id="slideText1">Creativity for all.</div>
</div>
</div>
<script type="text/javascript" src="lib/jquery.min.js"></script>
<script type="text/javascript" src="carousel.js"></script>
</body>
</html>

2
resources/carousel/lib/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB