Skip to content

Commit

Permalink
Patch release [v1.0.1.0]
Browse files Browse the repository at this point in the history
- Fixed a crash relating to the settings menu closing
  • Loading branch information
o7q committed Jun 10, 2023
1 parent cfdb561 commit 284073e
Show file tree
Hide file tree
Showing 10 changed files with 141 additions and 1 deletion.
Binary file added assets/fonts/karrikRegular.ttf
Binary file not shown.
Binary file added assets/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/program.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/program_single.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions assets/pages/index/files/scripts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function bodyInit()
{
var ver = "v1.0.0.0";

document.getElementById("downloadID").href = "https://github.com/o7q/MediaConverter/releases/download/" + ver + "/MediaConverter." + ver + ".zip";
document.getElementById("downloadID").innerHTML = "Download " + ver;
}
87 changes: 87 additions & 0 deletions assets/pages/index/files/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
@font-face
{
font-family: KarrikRegular;
src: url(../../../fonts/karrikRegular.ttf);
}

::-webkit-scrollbar
{
width: 0.75em;
}
::-webkit-scrollbar-thumb
{
border-radius: 0px;
background: #1C1C1C;
}
::-webkit-scrollbar-track
{
background: #0F0F0F;
}

body
{
text-align: center;
background-image: linear-gradient(#1C1C1C, #0F0F0F);
}

.headDesc
{
margin: 0 auto;
font-family: KarrikRegular;
font-size: 15px;
inline-size: 400px;
color: #FFFFFF;
}

.headProgram
{
border: 3px solid #282928;
border-radius: 3px;
}

.downloadButton
{
padding: 10px 25px;
background-image: linear-gradient(#051526, #0A2B4C);
border: 3px solid #1E82E6;
border-radius: 10px;
font-family: KarrikRegular;
font-size: 30px;
color: #1E82E6;
text-decoration: none;
transition: all 0.15s ease-in-out;
}
.downloadButton:hover
{
color: #61A7ED;
border: 3px solid #61A7ED;
box-shadow: 0 5px 15px #61A7ED30;
}

.downloadButtonAll
{
position: relative;
top: 15px;
font-family: KarrikRegular;
color: #1868B8;
text-decoration: none;
}

.copyrightText
{
font-family: KarrikRegular;
font-size: 10px;
color: #696969;
padding-top: 5px;
}

/* functions */
.disablePointer
{
cursor: default;
}

.disableSelect
{
user-select: none;
}
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
~ v1.0.1.0
- Fixed a crash relating to the settings menu closing
42 changes: 42 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<html>
<head>
<title>
MediaDownloader
</title>

<link rel="icon" href="assets/images/favicon.png">
<link rel="stylesheet" href="assets/pages/index/files/styles.css">
<script src="assets/pages/index/files/scripts.js"></script>
</head>

<body onload="bodyInit()">
<a href="https://github.com/o7q/MediaConverter">
<img src="assets/images/banner.png" class="disableSelect" width="300" draggable="false">
</a>

<p class="headDesc disablePointer disableSelect">
A robust GUI wrapper for FFmpeg that can swiftly process and convert virtually any media file.
</p>

<br class="disablePointer disableSelect">

<img src="assets/images/program_single.png" class="headProgram disablePointer disableSelect" draggable="false">

<br class="disablePointer disableSelect">
<br class="disablePointer disableSelect">

<a id="downloadID" class="downloadButton disableSelect"></a>

<br class="disablePointer disableSelect">

<a href="https://github.com/o7q/MediaConverter/releases" class="downloadButtonAll disableSelect">
All Downloads
</a>

<br class="disablePointer disableSelect">

<p class="copyrightText disablePointer disableSelect">
© 2023 o7q
</p>
</body>
</html>
2 changes: 1 addition & 1 deletion src/MediaConverter/MediaConverter/Includes/Data/Storage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
public static class Storage
{
public const string VERSION = "v1.0.0";
public const string VERSION = "v1.0.1";

public const string baseArguments = "@echo off\n" +
"cd \"MediaConverter\\working\"\n" +
Expand Down
2 changes: 2 additions & 0 deletions src/MediaConverter/MediaConverter/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ private void Main_Load(object sender, EventArgs e)
File.Create("MediaConverter\\config\\_base");
}

WriteConfig(config);

// set theme color based on the config
themeColor = Color.FromArgb(255, config.THEME_COLOR_R, config.THEME_COLOR_G, config.THEME_COLOR_B);
// set the background color of the main panel
Expand Down

0 comments on commit 284073e

Please sign in to comment.