mirror of
https://github.com/upscayl/upscayl.git
synced 2025-01-31 04:03:51 +01:00
Update renderer/pages/index.tsx
Co-authored-by: NayamAmarshe <nayamamarshe@protonmail.com>
This commit is contained in:
parent
af613ac3a5
commit
27c6c51448
@ -390,8 +390,7 @@ const Home = () => {
|
|||||||
) {
|
) {
|
||||||
alert("Please drag and drop an image");
|
alert("Please drag and drop an image");
|
||||||
} else {
|
} else {
|
||||||
SetImagePath(filePath);
|
SetImagePath(formatPath(filePath));
|
||||||
setFormattedImagePath(formatPath(filePath));
|
|
||||||
var dirname = filePath.match(/(.*)[\/\\]/)[1] || "";
|
var dirname = filePath.match(/(.*)[\/\\]/)[1] || "";
|
||||||
logit("📢 Setting output path: ", dirname);
|
logit("📢 Setting output path: ", dirname);
|
||||||
setOutputPath(dirname);
|
setOutputPath(dirname);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user