Browse Source

Some fixes for v1.1.1

tags/v1.4.4
Ivan Bravo Bravo 1 year ago
parent
commit
82ce84f72f

+ 27
- 27
README.md View File

@@ -11,7 +11,8 @@

# DreamTime

DreamTime allows you to "nudify" photos of people in the most accessible way possible.
DreamTime allows you to nudify photos of people easily and better than DeepNude.

**Exclusive use for private entertainment.**

![](assets/preview.png)
@@ -22,9 +23,7 @@ If you want to share or modify this Software please do it for the same purpose a

We are a community interested in developing decentralized applications free of censorship. Join our social networks or repositories:

- [Chat](https://chat.dreamnet.tech)
- [Twitter](https://twitter.com/DreamNetTechno)
- [Facebook](https://web.facebook.com/DreamNetTechnology)
- [Website](https://dreamnet.tech)
- [GitHub](https://github.com/dreamnettech)
- [NotABug](https://notabug.org/DreamNet)
- [GitGud](https://gitgud.io/dreamnet)
@@ -33,11 +32,17 @@ We are a community interested in developing decentralized applications free of c

Developing DreamNet applications is time consuming! Help us accelerate development and offer better updates!

[![patreon](https://img.shields.io/badge/become%20a%20patron-fb6c54?logo=patreon&logoColor=white&style=for-the-badge)](https://www.patreon.com/dreamnet)

[![Ko-fi](https://img.shields.io/badge/support%20with%20coffe-ff5e5b?logo=ko-fi&logoColor=white&style=for-the-badge)](https://ko-fi.com/R6R2ZSG3)

[![patreon](https://img.shields.io/badge/become%20a%20patron-fb6c54?logo=patreon&logoColor=white&style=for-the-badge)](https://www.patreon.com/dreamnet)
[![coinbase](https://img.shields.io/badge/support%20with%20crypto-000000?logo=bitcoin&logoColor=white&style=for-the-badge)](https://commerce.coinbase.com/charges/27J877GZ)

[![coinbase](https://img.shields.io/badge/support%20with%20bitcoin-000000?logo=bitcoin&logoColor=white&style=for-the-badge)](https://commerce.coinbase.com/charges/27J877GZ)
## Contact

Do you have any problem? Doubts? or you are simply interested in chatting with the main developer, any email (except SPAM) is welcome:

`ivan[at]dreamnet.tech`

---

@@ -48,17 +53,15 @@ Developing DreamNet applications is time consuming! Help us accelerate developme
- 64 bits OS
- Windows 7 SP1, Windows 8, Windows 10 1803+
- Ubuntu 16.04+
- 🧪 macOS 10.13+
- macOS 10.13+
- **8 GB+** of RAM.

> ⚠ **N versions of Windows 10** require installing the [Media Feature Pack](https://www.microsoft.com/en-us/software-download/mediafeaturepack).

> 🧪 **macOS** support is in an experimental phase, current version of DreamTime has not been developed with a "cpu-only" or "macOS" support in mind, some features may fail.
### GPU Processing

## GPU Processing Requirements

- NVIDIA Graphics card with minimum [3.5 CUDA compute capability](https://developer.nvidia.com/cuda-gpus)
- [Latest NVIDIA drivers](https://www.nvidia.com/Download/index.aspx)
- NVIDIA Graphics card with minimum [3.5 CUDA compute capability.](https://developer.nvidia.com/cuda-gpus)
- [Latest NVIDIA drivers.](https://www.nvidia.com/Download/index.aspx)

> 👉 If you do not have an NVIDIA or compatible graphics card you can use CPU processing.

@@ -69,11 +72,11 @@ Developing DreamNet applications is time consuming! Help us accelerate developme

### Mirrors

[![Windows](https://img.shields.io/badge/cdn-v1.1.0-0078D6?logo=windows&logoColor=white&style=for-the-badge)](https://cdn.dreamnet.tech/releases/dreamtime/v1.1.0/DreamTime-v1.1.0-windows-x64.exe)
[![Windows](https://img.shields.io/badge/dreamlink-v1.1.1-0078D6?logo=windows&logoColor=white&style=for-the-badge)](https://catalina.dreamnet.tech/ipns/QmUvudWPzRa7hgDSVFiwzFzviAZJohTrvHJNhnvytuPv3H/Releases/DreamTime/v1.1.1/DreamTime-v1.1.1-windows.exe)

[![Ubuntu](https://img.shields.io/badge/cdn-v1.1.0-E95420?logo=ubuntu&logoColor=white&style=for-the-badge)](https://cdn.dreamnet.tech/releases/dreamtime/v1.1.0/DreamTime-v1.1.0-ubuntu-x64.deb)
[![Ubuntu](https://img.shields.io/badge/dreamlink-v1.1.1-E95420?logo=ubuntu&logoColor=white&style=for-the-badge)](https://catalina.dreamnet.tech/ipns/QmUvudWPzRa7hgDSVFiwzFzviAZJohTrvHJNhnvytuPv3H/Releases/DreamTime/v1.1.1/DreamTime-v1.1.1-ubuntu.deb)

[![macOS](https://img.shields.io/badge/cdn-v1.1.0%20(Experimental)-999999?logo=Apple&logoColor=white&style=for-the-badge)](https://cdn.dreamnet.tech/releases/dreamtime/fc09024/DreamTime-v1.1.0-macos-cpuonly.dmg)
[![macOS](https://img.shields.io/badge/dreamlink-v1.1.1-999999?logo=Apple&logoColor=white&style=for-the-badge)](https://catalina.dreamnet.tech/ipns/QmUvudWPzRa7hgDSVFiwzFzviAZJohTrvHJNhnvytuPv3H/Releases/DreamTime/v1.1.1/DreamTime-v1.1.1-macos.dmg)

## F.A.Q.

@@ -108,26 +111,23 @@ We do not store any personal information or photos that have been processed with

### Quick Setup

Inside the folder `scripts/` you will find Python scripts that will allow you to prepare the project for all phases, these scripts are compatible with Windows, Linux and macOS.
Install dependencies:

`yarn install`

- **setup.py**: This script will install all the necessary requirements for Python and NodeJS. In theory you only need to run this script once per version.
- **build.py**: This script will compile the project in the `dist/` folder, once it's finished you can share the executable (exe, deb, dmg) inside the folder.
- **dev-start.py**: This script will launch 2 processes, one to start the NuxtJS server (which will compile all the CSS, JavaScript and Vue files) and other that will start Electron that will load the NuxtJS server. Any change you make will be reflected in real time.
Start development enviroment:

To see possible options for these scripts run `--help`
`yarn dev:nuxt`

```
python3 setup.py --help
python3 build.py --help
```
`yarn dev:electron`

> ⚠ If you use [Anaconda](https://www.anaconda.com/) or some other program that encapsulates Python or NodeJS in their own development environment it is very likely that these scripts fail, you will have to read the content and execute the commands manually.
Build:

> ⚠ The NuxtJS server incorporates an HTTP server to view the live application, **you must not access the URL indicated by the console**, the application only works when it is loaded from Electron.
`yarn build`

## Pull Requests

We seek to improve the software in every possible way, if you want to make a contribution you are welcome to make a Pull Request, just make sure you do it to the **canary branch**.
Pull Requests of all kinds are welcome! Please make sure you do it in the **canary branch**.

## ⚠ Drastic Changes in v1.0.0+


BIN
assets/preview.png View File


+ 13
- 1
src/electron/tools/fs.js View File

@@ -143,7 +143,19 @@ module.exports = {
extractSeven(zipPath, targetPath) {
const def = deferred()

const pathTo7zip = sevenBin.path7za
let pathTo7zip

if ($tools.utils.is.development) {
pathTo7zip = sevenBin.path7za
} else {
const binName = $tools.utils.platform({
macos: '7za',
windows: '7za.exe',
linux: '7za'
})

pathTo7zip = $tools.paths.getGui('..', 'resources', '7zip-bin', binName)
}

const seven = extractFull(zipPath, targetPath, {
$bin: pathTo7zip,

+ 1
- 1
src/electron/tools/shell.js View File

@@ -53,7 +53,7 @@ module.exports = {
*
*/
hasWindowsMedia() {
if (is.windows && !is.dev) {
if (is.windows && !is.development) {
regedit.setExternalVBSLocation(
path.join(path.dirname(api.app.getPath('exe')), 'resources', 'vbs')
)

+ 6
- 2
src/modules/update/base.js View File

@@ -125,6 +125,10 @@ export default class {
urls = urls[platform]
}

if (_.isNil(urls)) {
urls = []
}

if (this.latest.assets.length === 1) {
// eslint-disable-next-line prefer-destructuring
asset = this.latest.assets[0]
@@ -270,12 +274,12 @@ export default class {
return false
}

this._setUpdating('Downloading...', 0)

const downloadURLs = this.getUpdateDownloadURLs()
let filePath

for (const url of downloadURLs) {
this._setUpdating('Downloading...', 0)

// Try to download it from each mirror
try {
// eslint-disable-next-line no-await-in-loop

+ 4
- 0
src/modules/update/dreamtime.js View File

@@ -66,6 +66,10 @@ export default class extends Base {
* @param {string} filePath
*/
async install(filePath) {
await new Promise((resolve) => {
setTimeout(() => { resolve() }, 1500)
})

try {
$tools.shell.openItem(filePath)
} catch (err) {

+ 18
- 1
src/package.json View File

@@ -46,6 +46,10 @@
{
"from": "node_modules/regedit/vbs",
"to": "vbs"
},
{
"from": "node_modules/7zip-bin/win/x64",
"to": "7zip-bin"
}
],
"extraFiles": [
@@ -60,6 +64,12 @@
"icon": "static/app.icns",
"executableName": "DreamTime",
"category": "Graphics",
"extraResources": [
{
"from": "node_modules/7zip-bin/linux/x64",
"to": "7zip-bin"
}
],
"extraFiles": [
{
"from": ".env",
@@ -71,6 +81,12 @@
"target": "dmg",
"icon": "static/app.icns",
"category": "public.app-category.graphics-design",
"extraResources": [
{
"from": "node_modules/7zip-bin/mac",
"to": "7zip-bin"
}
],
"extraFiles": [
{
"from": ".env",
@@ -132,6 +148,7 @@
"electron-nucleus": "^2.4.0",
"electron-utils": "^3.0.11",
"filesize": "^6.0.1",
"fs-extra": "^8.1.0",
"gpu-info": "^0.0.1",
"gsap": "^3.0.1",
"image-js": "^0.21.8",
@@ -192,4 +209,4 @@
"tailwindcss": "^1.1.3",
"tailwindcss-alpha": "hacknug/tailwindcss-alpha#feature/tests"
}
}
}

Loading…
Cancel
Save