Solving $2(2^x- 1) x^2 + (2^{x^2}-2)x = 2^{x+1} -2$

I was doing the problem

Find all real solutions for $$x$$ in:

$$2(2^x- 1) x^2 + (2^{x^2}-2)x = 2^{x+1} -2$$

There was a hint, to prove that $$2^{x} - 1$$ has the same sign as $$x$$, although with basic math, if $$2^0 - 1$$ = 0, and x in this case = 0, The two expressions will have the same sign, so I am just puzzled on where to go next with this problem, any help would be welcome!

Messing around with basic values, I got $$\pm 1, 0$$ as the answers, although I have not checked for extra solutions, and do not know how to prove these, as it was just basic guessing and checking with the three most basic numbers for solving equations.

Now, for $$x\neq1$$, $$x\neq0$$ and $$x\neq-1$$ rewrite our equation in the following form: $$\frac{2^x-1}{x}+\frac{2^{x^2-1}-1}{x^2-1}=0.$$ Can you end it now?
Dividing both sides by $$2$$, we get $$x^2(2^x-1)+x(2^{x^2-1}-1)=2^x-1$$. Subtracting $$2^x-1$$ from both sides gives $$(x^2-1)(2^x-1)+x(2^{x^2-1}-1)=0$$. We can also note that for any $$x>1$$, all terms on the LHS of the equation $$(x^2-1)(2^x-1)+x(2^{x^2-1}-1)=0$$ are positive. For all $$x<-1$$, $$x^2-1$$ is positive, $$2^x-1$$ is negative, $$x$$ is negative, and $$2^{x^2-1}-1$$ is positive, so the whole expression is negative. Therefore, our solutions must be in the range $$-1 \leq x \leq 1$$.
{"ft_lang_label":"__label__en","ft_lang_prob":0.97284544,"math_prob":1.0000097,"size":628,"snap":"2022-05-2022-21","text_gpt3_token_len":190,"char_repetition_ratio":0.102564104,"word_repetition_ratio":0.0,"special_character_ratio":0.32006368,"punctuation_ratio":0.10344828,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000077,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-23T13:31:06Z\",\"WARC-Record-ID\":\"<urn:uuid:fab4d213-963b-4041-af16-b749912ee69c>\",\"Content-Length\":\"141600\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6adaf3f3-b1ef-4183-8733-22f18a661964>\",\"WARC-Concurrent-To\":\"<urn:uuid:fa701e13-0568-49f4-af5d-ef8137550e76>\",\"WARC-IP-Address\":\"151.101.129.69\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/3766042/solving-22x-1-x2-2x2-2x-2x1-2\",\"WARC-Payload-Digest\":\"sha1:K6DJBB5MUOGHPPNU67OXGKM2GUSCXMAY\",\"WARC-Block-Digest\":\"sha1:UB7GXSORABQ3SQURCVSS27UMM5PYRP5B\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320304261.85_warc_CC-MAIN-20220123111431-20220123141431-00301.warc.gz\"}"}